Skip to content

Commit

Permalink
Merge pull request #753 from recurly/ts-add-google-pay
Browse files Browse the repository at this point in the history
Add google-pay type definition to recurly.d.ts
  • Loading branch information
douglasmiller authored Sep 21, 2022
2 parents 17748a5 + 0c55dad commit ed6369b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions types/lib/recurly.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -57,6 +58,13 @@ export interface Recurly extends Emitter<RecurlyEvent> {
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.
*
Expand Down

0 comments on commit ed6369b

Please sign in to comment.