Interface CreatePaymentConnectorRequest.Builder

  • Method Details

    • paymentManagerId

      CreatePaymentConnectorRequest.Builder paymentManagerId(String paymentManagerId)

      The unique identifier of the payment manager to create the connector for.

      Parameters:
      paymentManagerId - The unique identifier of the payment manager to create the connector for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the payment connector.

      Parameters:
      name - The name of the payment connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      A description of the payment connector.

      Parameters:
      description - A description of the payment connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of payment connector, which determines the payment provider integration.

      Parameters:
      type - The type of payment connector, which determines the payment provider integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of payment connector, which determines the payment provider integration.

      Parameters:
      type - The type of payment connector, which determines the payment provider integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • credentialProviderConfigurations

      CreatePaymentConnectorRequest.Builder credentialProviderConfigurations(Collection<CredentialsProviderConfiguration> credentialProviderConfigurations)

      The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.

      Parameters:
      credentialProviderConfigurations - The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialProviderConfigurations

      CreatePaymentConnectorRequest.Builder credentialProviderConfigurations(CredentialsProviderConfiguration... credentialProviderConfigurations)

      The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.

      Parameters:
      credentialProviderConfigurations - The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialProviderConfigurations

      CreatePaymentConnectorRequest.Builder credentialProviderConfigurations(Consumer<CredentialsProviderConfiguration.Builder>... credentialProviderConfigurations)

      The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.

      This is a convenience method that creates an instance of the CredentialsProviderConfiguration.Builder avoiding the need to create one manually via CredentialsProviderConfiguration.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to credentialProviderConfigurations(List<CredentialsProviderConfiguration>).

      Parameters:
      credentialProviderConfigurations - a consumer that will call methods on CredentialsProviderConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • provisionMode

      CreatePaymentConnectorRequest.Builder provisionMode(String provisionMode)

      The provision mode for creating the payment connector. If you don't specify a value, the default is MANUAL.

      • MANUAL - You provide the credential provider configurations directly.

      • QUICK_CREATE - The service orchestrates OAuth consent and provisions the credential provider for you.

      Parameters:
      provisionMode - The provision mode for creating the payment connector. If you don't specify a value, the default is MANUAL.

      • MANUAL - You provide the credential provider configurations directly.

      • QUICK_CREATE - The service orchestrates OAuth consent and provisions the credential provider for you.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • provisionMode

      The provision mode for creating the payment connector. If you don't specify a value, the default is MANUAL.

      • MANUAL - You provide the credential provider configurations directly.

      • QUICK_CREATE - The service orchestrates OAuth consent and provisions the credential provider for you.

      Parameters:
      provisionMode - The provision mode for creating the payment connector. If you don't specify a value, the default is MANUAL.

      • MANUAL - You provide the credential provider configurations directly.

      • QUICK_CREATE - The service orchestrates OAuth consent and provisions the credential provider for you.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreatePaymentConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.