Google Pay Card
AndroidPayCard
. With the exception of version 3.0.1 and higher of our Ruby SDK, Google Pay cards are
represented as Android Pay cards in our API to prevent breaking changes.
Attributes
The billing Address
associated with this Android Pay card.
getBin()
stringThe first 6 digits of the card number, also known as the Bank Identification Number (BIN). If this Google Pay card is network tokenized, its BIN may differ from the BIN of the underlying source card.
getCreatedAt()
CalendarThe date/time the object was created. Returned in UTC.
getCustomerId()
stringA string value representing an existing customer in your Vault that owns this payment method. Use this to look up a single customer.
isDefault()
booleanA value indicating whether the specified payment method is the default for the customer.
getExpirationMonth()
stringThe expiration month of the credit card, formatted MM
.
getExpirationYear()
stringThe 2- or 4-digit year associated with the credit card, formatted YY
or YYYY
.
getGoogleTransactionId()
stringA unique identifier provided by Google to track the payment method's transactions.
getImageUrl()
stringA URL that points to a payment method image resource (a PNG file) hosted by Braintree.
isNetworkTokenized()
booleanIndicates whether this card has been network tokenized. A network tokenized card is a generated virtual card with a device-specific account number (DPAN) that is used in place of the underlying source card.
getSourceCardLast4()
stringThe last 4 digits of the card number. If this card is network tokenized, this is the last 4 digits of the customer's actual card.
getSourceCardType()
stringThe card type. If this card is network tokenized, this is the card type of the customer's actual card.
getSourceDescription()
stringIndicates what type of payment method was tokenized by the network. Also includes an identifier for the account (e.g. last 4 digits if the payment method was a credit card).
getSubscriptions()
arraySubscriptions associated with the payment method.
getToken()
stringAn alphanumeric value that references a specific payment method stored in your Vault.
getUpdatedAt()
CalendarThe date/time the object was last updated. Returned in UTC.
getVirtualCardLast4()
stringThe last 4 digits of the card number. If this card is network tokenized, this is the last 4 digits of the device-specific account number (DPAN).
getVirtualCardType()
stringThe card type. If this card is network tokenized, this is the card type of the network tokenized card.