Skip to content

Commit 8a47722

Browse files
authored
INTER 4349 ppcp google pay library interfaces (#27)
1 parent 166ee93 commit 8a47722

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/types/apiInterfaces.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export interface IAlternatePaymentMethodType {
108108
BRAINTREE_GOOGLE: string;
109109
BRAINTREE_APPLE: string;
110110
PPCP_APPLE: string;
111+
PPCP_GOOGLE: string;
111112
PPCP: string;
112113
}
113114

@@ -481,6 +482,7 @@ export interface IExpressPayPaypalCommercePlatform {
481482
is_test: boolean;
482483
public_id: string;
483484
apple_pay_enabled: boolean;
485+
google_pay_enabled: boolean;
484486
partner_id: string;
485487
merchant_id: string;
486488
fastlane_styles: Record<string, unknown>
@@ -493,6 +495,7 @@ export interface IExpressPayPaypalCommercePlatformButton {
493495
'is_3ds_enabled': boolean,
494496
'style': Record<string, unknown>,
495497
'apple_pay_enabled': boolean,
498+
'google_pay_enabled': boolean;
496499
'type': string,
497500
'merchant_country': string,
498501
'payment_types': Record<string, unknown>,

src/variables/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export const alternatePaymentMethodType: IAlternatePaymentMethodType = {
9696
BRAINTREE_GOOGLE: 'braintree',
9797
BRAINTREE_APPLE: 'braintree-apple',
9898
PPCP_APPLE: 'paypal_commerce_platform-apple',
99+
PPCP_GOOGLE: 'paypal_commerce_platform-google',
99100
PPCP: 'paypal_commerce_platform',
100101
};
101102

0 commit comments

Comments
 (0)