Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Last active January 4, 2019 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitherejoe/7c68d36ea39ba6c59f2b6db5084670e1 to your computer and use it in GitHub Desktop.
Save hitherejoe/7c68d36ea39ba6c59f2b6db5084670e1 to your computer and use it in GitHub Desktop.
val isReadyToPayRequest: JSONObject = JSONObject().apply {
put("apiVersion", 2)
put("apiVersionMinor", 0)
put("allowedPaymentMethods", JSONArray().put(baseCardPaymentMethod))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment