Skip to content

Commit

Permalink
INTER 4349 ppcp google pay library interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bCWarkent committed Aug 12, 2024
1 parent 5c9d97e commit 6d60ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types/apiInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export interface IAlternatePaymentMethodType {
BRAINTREE_GOOGLE: string;
BRAINTREE_APPLE: string;
PPCP_APPLE: string;
PPCP_GOOGLE: string;
PPCP: string;
}

Expand Down Expand Up @@ -472,6 +473,7 @@ export interface IExpressPayPaypalCommercePlatform {
is_test: boolean;
public_id: string;
apple_pay_enabled: boolean;
google_pay_enabled: boolean;
partner_id: string;
merchant_id: string;
fastlane_styles: Record<string, unknown>
Expand All @@ -484,6 +486,7 @@ export interface IExpressPayPaypalCommercePlatformButton {
'is_3ds_enabled': boolean,
'style': Record<string, unknown>,
'apple_pay_enabled': boolean,
'google_pay_enabled': boolean;
'type': string,
'merchant_country': string,
'payment_types': Record<string, unknown>,
Expand Down
1 change: 1 addition & 0 deletions src/variables/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export const alternatePaymentMethodType: IAlternatePaymentMethodType = {
BRAINTREE_GOOGLE: 'braintree',
BRAINTREE_APPLE: 'braintree-apple',
PPCP_APPLE: 'paypal_commerce_platform-apple',
PPCP_GOOGLE: 'paypal_commerce_platform-google',
PPCP: 'paypal_commerce_platform',
};

Expand Down

0 comments on commit 6d60ef3

Please sign in to comment.