Interface TransactionData.ItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransactionData.Item,TransactionData.Item.Builder
- Enclosing class:
- TransactionData
public static interface TransactionData.ItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Optional. The full name of the item.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Optional. The full name of the item.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for name.
-
getValue
double getValue()Optional. The value per item that the user is paying, in the transaction currency, after discounts.
double value = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The value.
-
getQuantity
long getQuantity()Optional. The quantity of this item that is being purchased.
int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The quantity.
-
getMerchantAccountId
String getMerchantAccountId()Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The merchantAccountId.
-
getMerchantAccountIdBytes
com.google.protobuf.ByteString getMerchantAccountIdBytes()Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for merchantAccountId.
-