xendit static method

GeneralPaymentAuth xendit({
  1. required String xenditApiKey,
  2. required String xenditOwnerId,
})

Implementation

static GeneralPaymentAuth xendit({
  required String xenditApiKey,
  required String xenditOwnerId,
}) {
  return GeneralPaymentAuth(
    apiKey: xenditApiKey,
    ownerId: xenditOwnerId,
    generalPaymentType: GeneralPaymentType.xendit,
  );
}