payment method types

This commit is contained in:
Kyle Spearrin 2019-02-19 17:05:27 -05:00
parent 9c44fc1329
commit 36e65f08ca
3 changed files with 6 additions and 1 deletions

View File

@ -2,5 +2,5 @@ export enum PaymentMethodType {
Card = 0, Card = 0,
BankAccount = 1, BankAccount = 1,
PayPal = 2, PayPal = 2,
Bitcoin = 3, BitPay = 3,
} }

View File

@ -1,3 +1,4 @@
import { PaymentMethodType } from '../../enums/paymentMethodType';
import { PlanType } from '../../enums/planType'; import { PlanType } from '../../enums/planType';
export class OrganizationCreateRequest { export class OrganizationCreateRequest {
@ -6,6 +7,7 @@ export class OrganizationCreateRequest {
billingEmail: string; billingEmail: string;
planType: PlanType; planType: PlanType;
key: string; key: string;
paymentMethodType: PaymentMethodType;
paymentToken: string; paymentToken: string;
additionalSeats: number; additionalSeats: number;
additionalStorageGb: number; additionalStorageGb: number;

View File

@ -1,3 +1,6 @@
import { PaymentMethodType } from '../../enums/paymentMethodType';
export class PaymentRequest { export class PaymentRequest {
paymentMethodType: PaymentMethodType;
paymentToken: string; paymentToken: string;
} }