Class AfterPayCreateOrderRequest
Represents a request to make a new AfterPay order (request payment for some items) via the AfterPay REST API.
Inheritance
System.Object
AfterPayCreateOrderRequest
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Yort.AfterPay.InStore
Assembly: cs.temp.dll.dll
Syntax
public class AfterPayCreateOrderRequest
Properties
Name | Description |
---|---|
Amount | The amount of payment required. |
MerchantReference | An id linking this order to an object in the point of sale system, e.g. the POS docket or receipt number. |
OrderItems | A set of AfterPayOrderItem instances representing the items being purchased on this order. |
PreapprovalCode | The pre-approval alphanumeric code obtained from the barcode displayed on the customers mobile. |
RequestedAt | The date and time at which this request was created. Defaults to the now property of SystemClock. |
RequestId | A unique id for this request. Defaults to a new GUID value. |