public final class DefaultApplePayApi extends BaseApi implements ApplePayApi
AUTHENTICATION_KEY, GLOBAL_ERROR_CASES| Constructor and Description |
|---|
DefaultApplePayApi(io.apimatic.core.GlobalConfiguration globalConfig)
Initializes the controller.
|
| Modifier and Type | Method and Description |
|---|---|
RegisterDomainResponse |
registerDomain(RegisterDomainRequest body)
Activates a domain for use with Apple Pay on the Web and Square.
|
CompletableFuture<RegisterDomainResponse> |
registerDomainAsync(RegisterDomainRequest body)
Activates a domain for use with Apple Pay on the Web and Square.
|
getClientInstance, getGlobalConfiguration, getHttpCallbackpublic DefaultApplePayApi(io.apimatic.core.GlobalConfiguration globalConfig)
globalConfig - Configurations added in client.public RegisterDomainResponse registerDomain(RegisterDomainRequest body) throws ApiException, IOException
registerDomain in interface ApplePayApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RegisterDomainResponse> registerDomainAsync(RegisterDomainRequest body)
registerDomainAsync in interface ApplePayApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.Copyright © 2023. All rights reserved.