@shipengine/connect-carrier-api
Version:
This is the typescript/javascript definitions for carrier api
22 lines • 1.34 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BillingLineItem = void 0;
/** @description Basic structure of each charge or line item */
class BillingLineItem {
/** A generalized category for what type of billing line item this is */
billing_category;
/** @description If the carrier provides a description from their API about the billing charge (not specific to the user). Maximum length of 100 characters. */
carrier_description;
/** @description If the carrier provides a billing code for */
carrier_billing_code;
/** @description This will often be empty; however, if there was additionally specific information about the charge it should go here, could also be a reference number. Maximum length of 250 characters. */
memo;
/** @description Total amount of the line item displayed and charged to the buyer */
amount;
/** @description Total amount of the line item billed by the provider. This should only be populated if it differs from 'amount' **/
provider_billed_amount;
/** @description Optional field. This field is applicable only to items that represent tax charge. It contains details about the tax, e.g. type (VAT), etc. */
tax_details;
}
exports.BillingLineItem = BillingLineItem;
//# sourceMappingURL=billing-line-item.js.map