import { Entity } from '../../../index.js';
import { PaypalV2Country } from '../PaypalV2Country.js';
/**
 * 정규화가 어려운 페이팔 bypass 파라미터
 * 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
 */
export type PaypalV2PaymentBypass = {
    purchase_units?: {
        payee?: {
            merchant_id: string;
        };
        shipping?: {
            address?: {
                address_line_1: string;
                address_line_2?: string;
                admin_area_1?: string;
                admin_area_2: string;
                postal_code?: string;
                country_code: PaypalV2Country;
            };
        };
    }[];
    payer?: {
        tax_info?: {
            tax_id: string;
            tax_id_type: string;
        };
        address?: {
            address_line_1?: string;
            address_line_2?: string;
            admin_area_1?: string;
            admin_area_2?: string;
            postal_code?: string;
            country_code: Entity.Country;
        };
    };
    payment_source?: {
        paypal?: {
            experience_context?: {
                brand_name?: string;
                shipping_preference?: 'GET_FROM_FILE' | 'NO_SHIPPING' | 'SET_PROVIDED_ADDRESS';
                landing_page?: 'LOGIN' | 'GUEST_CHECKOUT' | 'NO_PREFERENCE';
                payment_method_preference?: 'UNRESTRICTED' | 'IMMEDIATE_PAYMENT_REQUIRED';
            };
        };
    };
    additional_data?: {
        key: string;
        value: string;
    }[];
};
