create Payment Data Request
fun createPaymentDataRequest(squareLocationId: String, transactionInfo: TransactionInfo): PaymentDataRequest
Creates a PaymentDataRequest instance configured for the Square payment gateway.
Parameters
transaction Info
The Google Pay TransactionInfo for the payment.
square Location Id
The unique ID of the location to which the transaction will be credited. Location IDs are generated by Square for store locations listed in the dashboard and can be accessed through the Locations API.