All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sinch.sdk.domains.conversation.models.v1.credentials.AppleBusinessChatCredentials Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
/*
 * Conversation API | Sinch
 *
 * OpenAPI document version: 1.0
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * Do not edit the class manually.
 */

package com.sinch.sdk.domains.conversation.models.v1.credentials;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * If you are including the AppleBC channel in the channel_identifier property, you
 * must include this object.
 */
@JsonDeserialize(builder = AppleBusinessChatCredentialsImpl.Builder.class)
public interface AppleBusinessChatCredentials extends ChannelCredentials {

  /**
   * The ID that identifies a Business Chat Account (BCA).
   *
   * @return businessChatAccountId
   */
  String getBusinessChatAccountId();

  /**
   * Merchant ID, required if our client wants to use Apple Pay.
   *
   * @return merchantId
   */
  String getMerchantId();

  /**
   * Certificate reference, required if our client wants to use Apple Pay.
   *
   * @return applePayCertificateReference
   */
  String getApplePayCertificateReference();

  /**
   * Certificate password, required if our client wants to use Apple Pay.
   *
   * @return applePayCertificatePassword
   */
  String getApplePayCertificatePassword();

  /**
   * Getting builder
   *
   * @return New Builder instance
   */
  static Builder builder() {
    return new AppleBusinessChatCredentialsImpl.Builder();
  }

  /** Dedicated Builder */
  interface Builder {

    /**
     * see getter
     *
     * @param businessChatAccountId see getter
     * @return Current builder
     * @see #getBusinessChatAccountId
     */
    Builder setBusinessChatAccountId(String businessChatAccountId);

    /**
     * see getter
     *
     * @param merchantId see getter
     * @return Current builder
     * @see #getMerchantId
     */
    Builder setMerchantId(String merchantId);

    /**
     * see getter
     *
     * @param applePayCertificateReference see getter
     * @return Current builder
     * @see #getApplePayCertificateReference
     */
    Builder setApplePayCertificateReference(String applePayCertificateReference);

    /**
     * see getter
     *
     * @param applePayCertificatePassword see getter
     * @return Current builder
     * @see #getApplePayCertificatePassword
     */
    Builder setApplePayCertificatePassword(String applePayCertificatePassword);

    /**
     * Create instance
     *
     * @return The instance build with current builder values
     */
    AppleBusinessChatCredentials build();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy