Package-level declarations
Types
Everything the Google Pay API needs to describe what this app accepts. Field shape adapted from khalid64927/google-apple-pay's GooglePayConfig (Apache-2.0) — that repo isn't published to Maven Central, so it can't be depended on directly; this is our own implementation using its config shape as a starting point.
Which Google Pay backend the request is aimed at.
Google Pay — a wallet method riding a payment gateway underneath (here, a "example"/TEST tokenization gateway; production would set gateway = "stripe" + the real Stripe account's gatewayMerchantId, since Google Pay hands back an encrypted token for a processor to charge, it doesn't settle payments itself). ENVIRONMENT_TEST needs no live merchant account, so this ships SANDBOX_READY — genuinely runnable by anyone with a Google account and a test card on file.
Builds the Google Pay API's IsReadyToPayRequest/PaymentDataRequest JSON. This shape is Google's own standard sample request (also mirrored by khalid64927/google-apple-pay, Apache-2.0) — there's no meaningful way to build a "different" version of this JSON, it's the documented contract every Android Google Pay integration sends.