OpenapiClient::FraudOrder
Name
Type
Description
Notes
ship_to_address
ShipToAddress
[optional]
items
Array<FraudOrderItems>
The list of items included in the order.
[optional]
details_url
String
The URL to the merchant's management system, for reporting and analysis.
[optional]
user_defined
Object
A JSON object that can carry any additional information about the order that might be helpful for fraud detection.
[optional]
require 'OpenapiClient'
instance = OpenapiClient ::FraudOrder . new ( ship_to_address : null ,
items : [ { " ; id " ; :" ; PRODCODE1 " ; , " ; name " ; :" ; The Art of Computer Programming " ; , " ; quantity " ; :" ; litre " ; , " ; unit " ; :" ; 1 " ; , " ; unitPrice " ; :{ " ; value " ; :7300 , " ; currency " ; :" ; USD " ; } , " ; categories " ; :" ; [ [ \" ; Books \" ; , \" ; Computers & ; Technology \" ; , \" ; Programming \" ; ] , [ \" ; Books \" ; , \" ; Text Books \" ; , \" ; Computer Science \" ; ] ] " ; , " ; detailsUrl " ; :" ; https :/ /mystore . domain /product /PRODCODE1 " ; , " ; userDefined " ; :{ " ; weight " ; :5021 . 23 , " ; vat " ; :0 . 06 } } ] ,
details_url : https :/ /mystore . domain /product /PRODCODE1 ,
user_defined : { " ; delivery " ; :" ; express " ; , " ; carrier " ; :" ; ups " ; } )