| Name | Type | Description | Notes |
|---|---|---|---|
| customer_id | str | 顧客 ID | [optional] |
| billing_details | PaymentMethodBillingDetailsRequest | 請求先情報 | |
| metadata | Dict[str, MetadataValue] | キーバリューの任意のデータを格納できます。20件まで登録可能で、空文字列を指定するとそのキーを削除できます。<a href="https://docs.pay.jp/v2/guide/developers/metadata\">詳細はメタデータのドキュメントを参照してください。</a> | [optional] |
| type | str | クレジットカード決済の場合は `card` を指定します。 | |
| card | PaymentMethodCreateCardDetailsRequest | カード情報 | |
| token | str | Apple Pay のトークン |
from payjpv2.models.payment_method_create_request import PaymentMethodCreateRequest
# TODO update the JSON string below
json = "{}"
# create an instance of PaymentMethodCreateRequest from a JSON string
payment_method_create_request_instance = PaymentMethodCreateRequest.from_json(json)
# print the JSON string representation of the object
print(PaymentMethodCreateRequest.to_json())
# convert the object into a dict
payment_method_create_request_dict = payment_method_create_request_instance.to_dict()
# create an instance of PaymentMethodCreateRequest from a dict
payment_method_create_request_from_dict = PaymentMethodCreateRequest.from_dict(payment_method_create_request_dict)