Property | Type | Description |
---|
Method | Description | |
---|---|---|
Order ( string merchantOrderId, string email, |
Creates a new order
|
|
Validate ( Validations validationType = Validations.Weak ) : void |
Validates the objects fields content
|
public Order ( string merchantOrderId, string email, |
||
merchantOrderId | string | The unique id of the order at the merchant systems |
string | The email used for contact in the order | |
customer | The customer information | |
billingAddress | Riskified.SDK.Model.OrderElements.AddressInformation | Billing address |
shippingAddress | Riskified.SDK.Model.OrderElements.AddressInformation | Shipping address |
lineItems | An array of all products in the order | |
shippingLines | Riskified.SDK.Model.OrderElements.ShippingLine | An array of all shipping details for the order |
gateway | string | The payment gateway that was used |
customerBrowserIp | string | The customer browser ip that was used for the order |
currency | string | A three letter code (ISO 4217) for the currency used for the payment |
totalPrice | double | The sum of all the prices of all the items in the order, taxes and discounts included |
createdAt | System.DateTime | The date and time when the order was created |
updatedAt | System.DateTime | The date and time when the order was last modified |
passengers | Passengers included in the order - used for Travel industry merchants | |
paymentDetails | IPaymentDetails | The payment details |
discountCodes | Riskified.SDK.Model.OrderElements.DiscountCode | An array of objects, each one containing information about an item in the order (optional) |
totalDiscounts | double | The total amount of the discounts on the Order (optional) |
cartToken | string | Unique identifier for a particular cart or session that is attached to a particular order. The same ID should be passed in the Beacon JS (optional) |
totalPriceUsd | double | The price in USD (optional) |
closedAt | System.DateTime | The date and time when the order was closed. If the order was closed (optional) |
financialStatus | string | The financial status of the order (could be paid/voided/refunded/partly_paid/etc.) |
fulfillmentStatus | string | The fulfillment status of the order |
source | string | The source of the order |
noChargeDetails | Riskified.SDK.Model.OrderElements.NoChargeDetails | No charge sums - including all payments made for this order in giftcards, cash, checks or other non chargebackable payment methods |
additionalEmails | string | |
vendorId | string | |
vendorName | string | |
decisionDetails | Riskified.SDK.Model.OrderElements.DecisionDetails | |
clientDetails | Riskified.SDK.Model.OrderElements.ClientDetails | Technical information regarding the customer's browsing session |
chargeFreePaymentDetails | Riskified.SDK.Model.OrderElements.ChargeFreePaymentDetails | Payment sums made using non-chargebackable methods and should be omitted from the Chargeback gurantee sum and Riskified fee |
groupFounderOrderID | string | |
referringSite | string | |
note | string | |
name | string | |
orderType | string | |
submissionReason | SubmissionReason | The reason for submitting this order for review |
return | System |
public Validate ( Validations validationType = Validations.Weak ) : void | ||
validationType | Validations | |
return | void |