Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.17 KB

PaymentSessionCreateInput.md

File metadata and controls

42 lines (33 loc) · 2.17 KB

PaymentSessionCreateInput

Input for creating a payment session.

Properties

Name Type Description Notes
billing_address AddressInput [optional]
customer CustomerInput [optional]
discount_total MoneyInput [optional]
external_reference str Your reference to identify the payment session. [optional]
items List[ItemInput] List of items that the customer is purchasing. [optional]
payment_capture_type PaymentCaptureType [optional]
payment_method PaymentMethod
requires_shipping bool Whether the customer is required to provide a shipping address. [optional] [default to False]
session_key str The unique identifier for the payment session. If the same session key has been used, the existing payment session will be updated with the new values.
shipping_address AddressInput [optional]
shipping_total MoneyInput [optional]
tax_total MoneyInput [optional]
total MoneyInput

Example

from openapi_client.models.payment_session_create_input import PaymentSessionCreateInput

# TODO update the JSON string below
json = "{}"
# create an instance of PaymentSessionCreateInput from a JSON string
payment_session_create_input_instance = PaymentSessionCreateInput.from_json(json)
# print the JSON string representation of the object
print(PaymentSessionCreateInput.to_json())

# convert the object into a dict
payment_session_create_input_dict = payment_session_create_input_instance.to_dict()
# create an instance of PaymentSessionCreateInput from a dict
payment_session_create_input_from_dict = PaymentSessionCreateInput.from_dict(payment_session_create_input_dict)

[Back to Model list] [Back to API list] [Back to README]