@paciolan/cybersource-sdk
Version:
CyberSource REST API Typescript SDK
73 lines (72 loc) • 3.61 kB
TypeScript
/**
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
*
* @export
* @interface Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
export interface Ptsv2paymentsOrderInformationAmountDetailsOrder {
/**
* Grand total for the order. This value cannot be negative. You can include a decimal point (.), but you cannot include any other special characters. CyberSource truncates the amount to the correct number of decimal places
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
totalAmount?: string;
/**
* Currency used for the order
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
currency?: string;
/**
* Shipping discount amount for the transaction. If this amount has changed since the initial sessions request, you must include the new value in the order request. You must also include all additional amount fields that apply to the order and ensure the total amount equals the purchaseTotals_grandTotalAmount value.
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
subTotalAmount?: string;
/**
* Aggregate handling charges for the transaction. If this amount has changed since the initial sessions request, you must include the new value in the order request. You must also include all additional amount fields that apply to the order and ensure the total amount equals the purchaseTotals_grandTotalAmount value.
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
handlingAmount?: string;
/**
* Aggregate shipping charges for the transaction If this amount has changed since the initial sessions request, you must include the new value in the order request. You must also include all additional amount fields that apply to the order and ensure the total amount equals the purchaseTotals_grandTotalAmount value.
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
shippingAmount?: string;
/**
* Shipping discount amount for the transaction. If this amount has changed since the initial sessions request, you must include the new value in the order request. You must also include all additional amount fields that apply to the order and ensure the total amount equals the purchaseTotals_grandTotalAmount value.
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
shippingDiscountAmount?: string;
/**
* Total tax amount. When the purchaseTotals_ taxAmount and ap_subtotalAmount fields are included in the request, do not include the tax amount as part of the subtotal amount calculation.
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
taxAmount?: string;
/**
* Amount being charged for the insurance fee. Only supported when the payment_method is set to paypal.
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
insuranceAmount?: string;
/**
* Amount being charged as gift wrap fee.
* @type {string}
* @memberof Ptsv2paymentsOrderInformationAmountDetailsOrder
*/
giftWrapAmount?: string;
}