Interface CreateVariableRequest.Builder

    • Method Detail

      • name

        CreateVariableRequest.Builder name​(String name)

        The name of the variable.

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

        CreateVariableRequest.Builder dataType​(String dataType)

        The data type of the variable.

        Parameters:
        dataType - The data type of the variable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataType, DataType
      • dataType

        CreateVariableRequest.Builder dataType​(DataType dataType)

        The data type of the variable.

        Parameters:
        dataType - The data type of the variable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataType, DataType
      • defaultValue

        CreateVariableRequest.Builder defaultValue​(String defaultValue)

        The default value for the variable when no value is received.

        Parameters:
        defaultValue - The default value for the variable when no value is received.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateVariableRequest.Builder description​(String description)

        The description.

        Parameters:
        description - The description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • variableType

        CreateVariableRequest.Builder variableType​(String variableType)

        The variable type. For more information see Variable types.

        Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT

        Parameters:
        variableType - The variable type. For more information see Variable types.

        Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT

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

        CreateVariableRequest.Builder tags​(Collection<Tag> tags)

        A collection of key and value pairs.

        Parameters:
        tags - A collection of key and value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVariableRequest.Builder tags​(Tag... tags)

        A collection of key and value pairs.

        Parameters:
        tags - A collection of key and value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVariableRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A collection of key and value pairs.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)