From 0c55dadcdb15d601fe5429e689f82ff117acbaea Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 21 Sep 2022 14:13:19 -0300 Subject: [PATCH] add google-pay type definition to recurly.d.ts --- types/lib/recurly.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/lib/recurly.d.ts b/types/lib/recurly.d.ts index 12aca1254..89b52bb13 100644 --- a/types/lib/recurly.d.ts +++ b/types/lib/recurly.d.ts @@ -7,6 +7,7 @@ import { Configure } from './configure'; import { Elements } from './elements'; import { Emitter } from './emitter'; import { GiftCard } from './gift-card'; +import { GooglePay } from './google-pay'; import { PayPal } from './paypal'; import { Pricing } from './pricing'; import { Token } from './token'; @@ -57,6 +58,13 @@ export interface Recurly extends Emitter { Elements: Elements; giftCard: GiftCard; + /** + * Use Recurly.js to process Google Pay transactions. + * + * @see {@link https://developers.recurly.com/reference/recurly-js/index.html#google-pay|GooglePay} + */ + GooglePay: GooglePay; + /** * Use Recurly to process PayPal transactions using PayPal Business or Braintree. *