OpenapiClient::FraudOrderItems
Name
Type
Description
Notes
id
String
A unique ID associated with the product. Must be unique within the merchant's system.
[optional]
name
String
A name or short description of the product.
[optional]
quantity
String
The unit in which the product is sold (e.g. litre, kilogram, etc). Leave empty if the product is sold as a complete unit.
[optional]
unit
String
The number of units sold. Set to 1 if there is only one unit of the item. Leave empty if the quantity is unknown at the time of the request.
[optional]
unit_price
String
The price per unit.
[optional]
categories
Array<Array<String>>
The categories that this product belongs to.
[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 ::FraudOrderItems . new ( id : PRODCODE1 ,
name : The Art of Computer Programming ,
quantity : litre ,
unit : 1 ,
unit_price : { " ; value " ; : 7300 , " ; currency " ; : " ; USD " ; } ,
categories : [ [ " ; Books , Computers & ; Technology , Programming " ; ] , [ " ; Books , Text Books , Computer Science " ; ] ] ,
details_url : https :/ /mystore . domain /product /PRODCODE1 ,
user_defined : { " ; weight " ; :5021 . 23 , " ; vat " ; :0 . 06 } )