Skip to main content

ResultCustomerSubscriptionContractPaymentMethod

顧客向け定期購買の決済情報

type ResultCustomerSubscriptionContractPaymentMethod {
type: CustomerPaymentInstrumentType
brand: String
expiryMonth: Int
expiryYear: Int
lastDigits: String
name: String
maskedNumber: String
inactive: Boolean
paypalAccountEmail: String
}

Fields

ResultCustomerSubscriptionContractPaymentMethod.type ● CustomerPaymentInstrumentType enum

決済方法

  • 説明: 決済方法を表示します。ShopifyのCustomerPaymentInstrumentオブジェクトと同様です。
  • データ例: CustomerCreditCard

ResultCustomerSubscriptionContractPaymentMethod.brand ● String scalar

クレジットカードブランド名

  • 説明: クレジットカードブランド名を表示します
  • データ例: visa

ResultCustomerSubscriptionContractPaymentMethod.expiryMonth ● Int scalar

クレジットカード有効期限の月

  • 説明: クレジットカード有効期限の月を表示します
  • データ例: 1

ResultCustomerSubscriptionContractPaymentMethod.expiryYear ● Int scalar

クレジットカード有効期限の年

  • 説明: クレジットカード有効期限の年を表示します
  • データ例: 2025

ResultCustomerSubscriptionContractPaymentMethod.lastDigits ● String scalar

クレジットカード番号の末尾4桁

  • 説明: クレジットカード番号の末尾4桁を表示します
  • データ例: 1234

ResultCustomerSubscriptionContractPaymentMethod.name ● String scalar

クレジットカード名義

  • 説明: クレジットカード名義を表示します
  • データ例: 山田太郎

ResultCustomerSubscriptionContractPaymentMethod.maskedNumber ● String scalar

クレジットカード番号の末尾4桁の前がマスクされた番号

  • 説明: クレジットカード番号の末尾4桁の前がマスクされた番号を表示します
  • データ例: 1234

ResultCustomerSubscriptionContractPaymentMethod.inactive ● Boolean scalar

クレジットカードが無効化されているかどうか

  • 説明: クレジットカードが無効化されているかどうかを表示します
  • データ例: false

ResultCustomerSubscriptionContractPaymentMethod.paypalAccountEmail ● String scalar

Paypalのメールアドレス

  • 説明: Paypalのメールアドレスを表示します
  • データ例: test@example.com

Example

{
"type": "CustomerCreditCard",
"brand": "visa",
"expiryMonth": 1,
"expiryYear": 2025,
"lastDigits": "4242",
"name": "山田太郎",
"maskedNumber": "•••• •••• •••• 4242",
"inactive": false,
"paypalAccountEmail": "test@example.com"
}

Returned By

customerSubscriptionContractPaymentMethod query