[googlepay] Add INTERAC in AllowedCardNetwork (#37078)

* [ADD] INTERAC as an AllowedCardNetwork

* [FORMAT]
This commit is contained in:
Alexandre Couret 2019-07-23 15:39:26 -04:00 committed by Wesley Wigham
parent 7484adf373
commit 449c42470f
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,11 @@
const allowedCardNetworks = new Array<google.payments.api.AllowedCardNetwork>('AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA');
const allowedCardNetworks = new Array<google.payments.api.AllowedCardNetwork>(
'AMEX',
'DISCOVER',
'JCB',
'MASTERCARD',
'VISA',
'INTERAC'
);
const allowedPaymentMethods = new Array<google.payments.api.PaymentMethod>({
type: 'CARD',

View File

@ -3,6 +3,7 @@
// Definitions by: Florian Luccioni <https://github.com/Fluccioni>,
// Radu Raicea <https://github.com/Radu-Raicea>,
// Filip Stanis <https://github.com/fstanis>
// Alexandre Couret <https://github.com/ozotek>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace google.payments.api {
@ -72,7 +73,7 @@ declare namespace google.payments.api {
}
type AllowedAuthMethod = 'PAN_ONLY' | 'CRYPTOGRAM_3DS';
type AllowedCardNetwork = 'AMEX' | 'DISCOVER' | 'JCB' | 'MASTERCARD' | 'VISA';
type AllowedCardNetwork = 'AMEX' | 'DISCOVER' | 'JCB' | 'MASTERCARD' | 'VISA' | 'INTERAC';
interface CardParameters {
allowedAuthMethods: AllowedAuthMethod[];