Skip to content

Commit

Permalink
chore: Export payment request enums
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiewang committed Jun 21, 2023
1 parent 945beba commit 150ce73
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/payment_request/payment_request.d.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
import { XenditOptions } from '../xendit_opts';

enum PaymentRequestCurrencies {
export enum PaymentRequestCurrencies {
IDR = 'IDR',
PHP = 'PHP',
}

enum PaymentRequestCountries {
export enum PaymentRequestCountries {
ID = 'ID',
PH = 'PH',
}

enum PaymentRequestInitiator {
export enum PaymentRequestInitiator {
Customer = 'CUSTOMER',
Merchant = 'MERCHANT',
}

enum PaymentRequestCaptureMethod {
export enum PaymentRequestCaptureMethod {
Automatic = 'AUTOMATIC',
Manual = 'MANUAL',
}

enum PaymentRequestRedeemPoints {
export enum PaymentRequestRedeemPoints {
RedeemNone = 'REDEEM_NONE',
RedeemAll = 'REDEEM_ALL',
}

enum PaymentRequestType {
export enum PaymentRequestType {
Card = 'CARD',
EWallet = 'EWALLET',
DirectDebit = 'DIRECT_DEBIT',
Expand All @@ -34,7 +34,7 @@ enum PaymentRequestType {
VirtualAccount = 'VIRTUAL_ACCOUNT',
}

enum PaymentRequestStatuses {
export enum PaymentRequestStatuses {
Succeeded = 'SUCCEEDED',
Failed = 'FAILED',
Pending = 'PENDING',
Expand Down

0 comments on commit 150ce73

Please sign in to comment.