[braintree] Add TransactionRequestSource (#35528)

This commit is contained in:
Sam Rubin
2019-05-16 14:56:26 -07:00
committed by Nathan Shively-Sanders
parent 0d551cc334
commit 87ecddace1
+8 -1
View File
@@ -1253,7 +1253,7 @@ declare namespace braintree {
threeDSecureVision?: string;
xid?: string;
};
transactionSource?: string;
transactionSource?: TransactionRequestSource;
}
export interface AuthorizationAdjustment {
@@ -1300,6 +1300,13 @@ declare namespace braintree {
export type TransactionProcessorResponseType = 'approved' | 'soft_declined' | 'hard_declined';
export enum TransactionRequestSource {
recurring = 'recurring',
unscheduled = 'unscheduled',
recurring_first = 'recurring_first',
moto = 'moto',
}
export interface TransactionRiskData {
decision: string;
deviceDataCaptured: boolean;