Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.96 KB

File metadata and controls

36 lines (27 loc) · 1.96 KB

PurchaseRegisterRequest

Request payload for registering a new purchase transaction. Contains all required information to initiate the purchase of a digital asset.

Properties

Name Type Description Notes
token str Validation token
order_number int Vendor-generated order number that uniquely identifies this purchase order.
order_line_id int Line number within the order that identifies this specific item. Used to distinguish multiple items in the same order.
line_item_price float Price for this specific line item as a real number. Represents the total price for the quantity specified.
unit_price float Unit price for a single item as a real number
customer str Customer name for asset personalization. May be printed on the asset if personalization is supported.
parts List[AssetPartForm] Optional parts specification for ensemble assets. Allows customers to select specific parts of an ensemble for individual purchase rather than buying the complete set. [optional]

Example

from hlconnect_client.models.purchase_register_request import PurchaseRegisterRequest

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

# convert the object into a dict
purchase_register_request_dict = purchase_register_request_instance.to_dict()
# create an instance of PurchaseRegisterRequest from a dict
purchase_register_request_from_dict = PurchaseRegisterRequest.from_dict(purchase_register_request_dict)

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