Description
This function will create a new product purchase.
Style
Document
Input (Literal)
The input of this method is the argument purchaseProduct of type purchaseProduct having the structure defined by the following table.
Element |
Type |
Occurs |
Description |
---|---|---|---|
customerUUID |
string |
0..1 |
The UUID of the customer associated with the purchase |
description |
string |
0..1 |
An optional description of the purchase |
productOfferUUID |
string |
0..1 |
The UUID of the product offer |
Output (Literal)
The output of this method is the argument purchaseProductResponse of type purchaseProductResponse having the structure defined by the following table.
Element |
Type |
Occurs |
Description |
productPurchase |
0..1 |
The created product purchase object |
Remarks
On an exception, no purchase is performed, and the call returns null.