Request payload for registering a new purchase transaction. Contains all required information to initiate the purchase of a digital asset.
| 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] |
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)