import { money } from "./money";

export namespace marketplaceData {
    import MoneyData = money.MoneyData;

    /**
     * Declarative information used to comply with Visa Marketplace reporting.
     */
    interface MarketplaceData {
        /**
         * Indicates whether the Seller to which the pay-in will be transferred is foreign.
         * Foreign is where the Seller is resident in a different country than the Platform.
         */
        ForeignRetailerIndicator?: boolean;

        /**
         * The transaction amount related to a foreign Seller. When provided, the value
         * must be less than or equal to the DebitedFunds.Amount.
         */
        ForeignRetailerAmount?: MoneyData;
    }
}
