import type { payment_FeeItem } from './payment_FeeItem'; export type payment_Fee = { /** * AbsorbedAmount is what the internal user paid, in the smallest currency unit; equals TotalAmount when IsFeeAbsorbed is true. */ absorbedAmount?: number; /** * ChargedAmount is what the client paid, in the smallest currency unit; 0 when IsFeeAbsorbed is true. */ chargedAmount?: number; /** * IsFeeAbsorbed reports whether the internal user absorbed the transaction fee instead of passing it to the client. */ isFeeAbsorbed?: boolean; /** * Items is the list of individual fee components that make up the total. */ items?: Array; /** * TotalAmount is the total transaction fee (internal user plus client), in the smallest currency unit. */ totalAmount?: number; };