| Name | Type | Description | Notes |
|---|---|---|---|
| object | String | [optional][default to 'checkout.session'] | |
| id | String | Checkout Session ID | |
| livemode | Boolean | 本番環境かどうか | |
| amount_subtotal | Integer | ||
| amount_total | Integer | ||
| customer_id | String | ||
| customer_email | String | ||
| customer_details | CheckoutSessionCustomerDetailsResponse | [optional] | |
| expires_at | Time | ||
| currency | Currency | 価格の通貨。現在は `jpy` のみサポートしています。 | |
| locale | Locale | ||
| payment_flow_id | String | [optional] | |
| payment_method_types | Array<PaymentMethodTypes> | ||
| payment_method_options | Hash<String, Object> | ||
| setup_flow_id | String | [optional] | |
| submit_type | CheckoutSessionSubmitType | ||
| mode | CheckoutSessionMode | Checkout Session のモード | 値 |
| ui_mode | CheckoutSessionUIMode | Checkout Session の UI モード | 値 |
| status | CheckoutSessionStatus | チェックアウトセッションのステータス | |
| success_url | String | ||
| cancel_url | String | ||
| url | String | URL | |
| metadata | Hash<String, MetadataValue> | メタデータ | |
| created_at | Time | 作成日時 (UTC, ISO 8601 形式) | |
| updated_at | Time | 更新日時 (UTC, ISO 8601 形式) |
require 'payjpv2'
instance = PAYJPv2::CheckoutSessionDetailsResponse.new(
object: null,
id: null,
livemode: null,
amount_subtotal: null,
amount_total: null,
customer_id: null,
customer_email: null,
customer_details: null,
expires_at: null,
currency: null,
locale: null,
payment_flow_id: null,
payment_method_types: null,
payment_method_options: null,
setup_flow_id: null,
submit_type: null,
mode: null,
ui_mode: null,
status: null,
success_url: null,
cancel_url: null,
url: null,
metadata: null,
created_at: null,
updated_at: null
)