import { PaparaSingleResult } from "../common/paparaSingleResult"; import { MassPayment } from "../entities"; import { MassPaymentByReferenceOptions, MassPaymentGetOptions, MassPaymentToEmailOptions, MassPaymentToPaparaNumberOptions, MassPaymentToPhoneNumberOptions } from "../options"; import { RecurringMassPaymentToAccountNumberOptions } from "../options/recurringMassPaymentToAccountNumberOptions"; import { RecurringMassPayment } from "../entities/recurringMassPayment"; import { RecurringMassPaymentToPhoneNumberOptions } from "../options/recurringMassPaymentToPhoneNumberOptions"; import { RecurringMassPaymentToEmailOptions } from "../options/recurringMassPaymentToEmailOptions"; /** * Mass payment service will be used for getting mass payment info and sending payments to account number, mail address and phone number. */ export declare class MassPaymentService { private requestOptions; /** * Initializes a new instance of the class. * @param apiKey merchant api key * @param env environment selection */ constructor(apiKey: string, env: string); /** * Returns mass payment information for authorized merchant. * * @param MassPaymentGetOptions mass payment get options * @returns PaparaSingleResult Mass Payment Information */ getMassPayment: (options: MassPaymentGetOptions) => Promise>; /** * Creates a mass payment to given account number for authorized merchant. * * @param MassPaymentToPaparaNumberOptions mass payment to papara number options * @returns PaparaSingleResult Mass Payment Information */ createMassPaymentWithAccountNumber: (options: MassPaymentToPaparaNumberOptions) => Promise>; /** * Creates a mass payment to given e-mail address for authorized merchant. * * @param MassPaymentToEmailOptions mass payment to e-mail address options * @returns PaparaSingleResult Mass Payment Information */ createMassPaymentWithEmail: (options: MassPaymentToEmailOptions) => Promise>; /** * Creates a mass payment to given phone number for authorized merchant. * * @param MassPaymentToPhoneNumberOptions mass payment to phone number options * @returns PaparaSingleResult Mass Payment Information */ createMassPaymentWithPhoneNumber: (options: MassPaymentToPhoneNumberOptions) => Promise>; /** * Creates a recurring mass payment to given account number for authorized merchant * * @param RecurringMassPaymentToAccountNumberOptions recurring mass payment to account number options * @returns PaparaSingleResult recurring mass payment information */ createRecurringMassPaymentWithAccountNumber: (options: RecurringMassPaymentToAccountNumberOptions) => Promise>; /** * Creates a recurring mass payment to given phone number for authorized merchant * * @param RecurringMassPaymentToPhoneNumberOptions recurring mass payment to Phone number options * @returns PaparaSingleResult recurring mass payment information */ createRecurringMassPaymentWithPhoneNumber: (options: RecurringMassPaymentToPhoneNumberOptions) => Promise>; /** * Creates a recurring mass payment to given phone number for authorized merchant * * @param RecurringMassPaymentToPhoneNumberOptions recurring mass payment to Phone number options * @returns PaparaSingleResult recurring mass payment information */ createRecurringMassPaymentWithEmail: (options: RecurringMassPaymentToEmailOptions) => Promise>; /** * Returns mass payment information for authorized merchant. * * @param MassPaymentGetOptions mass payment get options * @returns PaparaSingleResult Mass Payment Information */ getMassPaymentByReference: (options: MassPaymentByReferenceOptions) => Promise>; }