Class Transaction.TokenInfo
-
- All Implemented Interfaces:
public final class Transaction.TokenInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransaction.TokenInfo.BuilderA builder for TokenInfo.
public final classTransaction.TokenInfo.WalletTypeThe wallet_type field will indicate the source of the token. Possible token sources include digital wallets (Apple, Google, or Samsung Pay), merchant tokenization, and “other” sources like in-flight commerce. Masterpass is not currently supported and is included for future use.
-
Method Summary
Modifier and Type Method Description final Transaction.TokenInfo.WalletTypewalletType()The wallet_type field will indicate the source of the token. final JsonField<Transaction.TokenInfo.WalletType>_walletType()Returns the raw JSON value of walletType. final Map<String, JsonValue>_additionalProperties()final Transaction.TokenInfo.BuildertoBuilder()final Transaction.TokenInfovalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Transaction.TokenInfo.Builderbuilder()Returns a mutable builder for constructing an instance of TokenInfo. -
-
Method Detail
-
walletType
final Transaction.TokenInfo.WalletType walletType()
The wallet_type field will indicate the source of the token. Possible token sources include digital wallets (Apple, Google, or Samsung Pay), merchant tokenization, and “other” sources like in-flight commerce. Masterpass is not currently supported and is included for future use.
-
_walletType
final JsonField<Transaction.TokenInfo.WalletType> _walletType()
Returns the raw JSON value of walletType.
Unlike walletType, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Transaction.TokenInfo.Builder toBuilder()
-
validate
final Transaction.TokenInfo validate()
-
builder
final static Transaction.TokenInfo.Builder builder()
Returns a mutable builder for constructing an instance of TokenInfo.
The following fields are required:
.walletType()
-
-
-
-