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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getMerchantAccountId()
When a merchant is specified, its corresponding account_id.com.google.protobuf.ByteString
getMerchantAccountIdBytes()
When a merchant is specified, its corresponding account_id.String
getName()
The full name of the item.com.google.protobuf.ByteString
getNameBytes()
The full name of the item.long
getQuantity()
The quantity of this item that is being purchased.double
getValue()
The value per item that the user is paying, in the transaction currency, after discounts.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The full name of the item.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The full name of the item.
string name = 1;
- Returns:
- The bytes for name.
-
getValue
double getValue()
The value per item that the user is paying, in the transaction currency, after discounts.
double value = 2;
- Returns:
- The value.
-
getQuantity
long getQuantity()
The quantity of this item that is being purchased.
int64 quantity = 3;
- Returns:
- The quantity.
-
getMerchantAccountId
String getMerchantAccountId()
When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
string merchant_account_id = 4;
- Returns:
- The merchantAccountId.
-
getMerchantAccountIdBytes
com.google.protobuf.ByteString getMerchantAccountIdBytes()
When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
string merchant_account_id = 4;
- Returns:
- The bytes for merchantAccountId.
-
-