src/test/java/com/squareup/connect/api/ApplePayApiTest.java
@Test
    public void registerDomainTest() throws ApiException {
        RegisterDomainRequest body = null;
        RegisterDomainResponse response = api.registerDomain(body);

        // TODO: test validations
    }
/**
     * RegisterDomain
     *
     * Activates a domain for use with Web Apple Pay and Square. A validation will be performed on this domain by Apple to ensure is it properly set up as an Apple Pay enabled domain.  This endpoint provides an easy way for platform developers to bulk activate Web Apple Pay with Square for merchants using their platform.  To learn more about Apple Pay on Web see the Apple Pay section in the [Embedding the Square Payment Form](https://docs.connect.squareup.com/articles/adding-payment-form) guide.
     *
     * @throws ApiException
     *          if the Api call fails
     */
RegisterDomain
Activates a domain for use with Web Apple Pay and Square. A validation will be performed on this domain by Apple to ensure is it properly set up as an Apple Pay enabled domain.  This endpoint provides an easy way for platform developers to bulk activate Web Apple Pay with Square for merchants using their platform.  To learn more about Apple Pay on Web see the Apple Pay section in the [Embedding the Square Payment Form] guide.

@throws ApiException
if the Api call fails
RegisterDomain Activates a domain for use with Web Apple Pay and Square . A validation will be performed on this domain by Apple to ensure is it properly set up as an Apple Pay enabled domain . This endpoint provides an easy way for platform developers to bulk activate Web Apple Pay with Square for merchants using their platform . To learn more about Apple Pay on Web see the Apple Pay section in the [ Embedding the Square Payment Form ] guide . @throws ApiException if the Api call fails
@Test
    public void registerDomainTest() throws ApiException {
        RegisterDomainRequest body = null;
        RegisterDomainResponse response = api.registerDomain(body);
    }
@ Test public void registerDomainTest ( ) throws ApiException { RegisterDomainRequest body = null ; RegisterDomainResponse response = api . registerDomain ( body ) ; }
RegisterDomain
 Activates a domain for use with Web Apple Pay and Square.
RegisterDomain Activates a domain for use with Web Apple Pay and Square .
// TODO: test validations