import { ShopifyCreditCard } from '@daffodil/driver/shopify'
Credit card information used for a payment.
interface ShopifyCreditCard {
__typename: "CreditCard"
brand: string
expiryMonth: number
expiryYear: number
firstDigits: string
firstName: string
lastDigits: string
lastName: string
maskedNumber: string
}
__typename "CreditCard" |
|---|
brand string |
|---|
The brand of the credit card. |
expiryMonth number |
|---|
The expiry month of the credit card. |
expiryYear number |
|---|
The expiry year of the credit card. |
firstDigits string |
|---|
The credit card's BIN number. |
firstName string |
|---|
The first name of the card holder. |
lastDigits string |
|---|
The last 4 digits of the credit card. |
lastName string |
|---|
The last name of the card holder. |
maskedNumber string |
|---|
The masked credit card number with only the last 4 digits displayed. |