/** * The Selling Partner API for Amazon Seller Wallet Open Banking API * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions. * * The version of the OpenAPI document: 2024-03-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { Currency } from './Currency.js'; import { Fee } from './Fee.js'; import { FxRateDetails } from './FxRateDetails.js'; /** * The TransferRatePreview model module. * @module sellerWallet_2024_03_01/model/TransferRatePreview * @version 2024-03-01 */ export declare class TransferRatePreview { baseAmount: Currency; fxRateDetails: FxRateDetails; transferAmount: Currency; fees: Fee[]; /** * Constructs a new TransferRatePreview. * The fees and foreign exchange rates that apply to the transaction. If the fees are in terms of the `baseAmount` (source account) currency, then the effective rate is equal to **1 - (fees * `baseRate` / `baseAmount`)**. If the fees are in terms of the `transferAmount` (destination account) currency, then the effective rate is equal to **`baseRate` - (fees / `baseAmount`)**. In the preceding expressions, **fees** is equal to the sum of all `feeAmount.currencyAmount` values in the `fees` array. * @alias module:sellerWallet_2024_03_01/model/TransferRatePreview * @class * @param baseAmount {Currency} * @param fxRateDetails {FxRateDetails} * @param transferAmount {Currency} * @param fees {Fee[]} A list of fees. */ constructor(baseAmount: Currency, fxRateDetails: FxRateDetails, transferAmount: Currency, fees: Fee[]); /** * Constructs a TransferRatePreview from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {TransferRatePreview} obj Optional instance to populate. * @return {TransferRatePreview} The populated TransferRatePreview instance. */ static constructFromObject(data: Object, obj: TransferRatePreview): TransferRatePreview; } //# sourceMappingURL=TransferRatePreview.d.ts.map