wallee
Version:
TypeScript/JavaScript client for wallee
53 lines (52 loc) • 1.67 kB
TypeScript
import type { Tax } from './Tax';
/**
*
* @export
* @interface PaymentAdjustment
*/
export interface PaymentAdjustment {
/**
* The adjustment's amount, excluding taxes.
* @type {number}
* @memberof PaymentAdjustment
*/
readonly amountExcludingTax?: number;
/**
* The percentage rate used to calculate the adjustment amount.
* @type {number}
* @memberof PaymentAdjustment
*/
readonly rateInPercentage?: number;
/**
*
* @type {Tax}
* @memberof PaymentAdjustment
*/
tax?: Tax;
/**
* A unique identifier for the object.
* @type {number}
* @memberof PaymentAdjustment
*/
readonly id?: number;
/**
* The adjustment's amount, including taxes.
* @type {number}
* @memberof PaymentAdjustment
*/
readonly amountIncludingTax?: number;
/**
* The type of the adjustment.
* @type {number}
* @memberof PaymentAdjustment
*/
readonly type?: number;
}
/**
* Check if a given object implements the PaymentAdjustment interface.
*/
export declare function instanceOfPaymentAdjustment(value: object): value is PaymentAdjustment;
export declare function PaymentAdjustmentFromJSON(json: any): PaymentAdjustment;
export declare function PaymentAdjustmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentAdjustment;
export declare function PaymentAdjustmentToJSON(json: any): PaymentAdjustment;
export declare function PaymentAdjustmentToJSONTyped(value?: Omit<PaymentAdjustment, 'amountExcludingTax' | 'rateInPercentage' | 'id' | 'amountIncludingTax' | 'type'> | null, ignoreDiscriminator?: boolean): any;