Package model
Class ApplePaySessionRequest
java.lang.Object
model.ApplePaySessionRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ApplePaySessionRequest
extends Object
ApplePaySessionRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) booleanstatic ApplePaySessionRequestCreate an instance of ApplePaySessionRequest given an JSON stringThis will be the merchant name shown to users when making a purchase via Apple Pay.1The domain where the buyer is initiating the payment.The `merchant_identity_id` used when registering the business with Apple Pay through our registration API.A validation URL that will be provided by the Apple SDK front-end for every payment.inthashCode()merchantIdentity(String merchantIdentity) voidsetDisplayName(String displayName) voidvoidsetMerchantIdentity(String merchantIdentity) voidsetValidationUrl(String validationUrl) toJson()Convert an instance of ApplePaySessionRequest to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundvalidationUrl(String validationUrl)
-
Field Details
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_DOMAIN
- See Also:
-
SERIALIZED_NAME_MERCHANT_IDENTITY
- See Also:
-
SERIALIZED_NAME_VALIDATION_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ApplePaySessionRequest
public ApplePaySessionRequest()
-
-
Method Details
-
displayName
-
getDisplayName
This will be the merchant name shown to users when making a purchase via Apple Pay.1- Returns:
- displayName
-
setDisplayName
-
domain
-
getDomain
The domain where the buyer is initiating the payment.- Returns:
- domain
-
setDomain
-
merchantIdentity
-
getMerchantIdentity
The `merchant_identity_id` used when registering the business with Apple Pay through our registration API.- Returns:
- merchantIdentity
-
setMerchantIdentity
-
validationUrl
-
getValidationUrl
A validation URL that will be provided by the Apple SDK front-end for every payment.- Returns:
- validationUrl
-
setValidationUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ApplePaySessionRequest
-
fromJson
Create an instance of ApplePaySessionRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ApplePaySessionRequest
- Throws:
IOException- if the JSON string is invalid with respect to ApplePaySessionRequest
-
toJson
Convert an instance of ApplePaySessionRequest to an JSON string- Returns:
- JSON string
-