Class PricingRequestAttributes

java.lang.Object
com.blockchyp.client.dto.PricingRequestAttributes

public class PricingRequestAttributes extends Object
Models the attributes for a pricing request.
  • Constructor Details

    • PricingRequestAttributes

      public PricingRequestAttributes()
  • Method Details

    • setCardNumber

      public void setCardNumber(String value)
      Sets the card number for the pricing request.
      Parameters:
      value - the card number for the pricing request.
    • getCardNumber

      public String getCardNumber()
      Gets the card number for the pricing request.
      Returns:
      the card number for the pricing request.
    • setToken

      public void setToken(String value)
      Sets the payment token.
      Parameters:
      value - the payment token.
    • getToken

      public String getToken()
      Gets the payment token.
      Returns:
      the payment token.
    • setMerchantIdentifier

      public void setMerchantIdentifier(String value)
      Sets the merchant identifier.
      Parameters:
      value - the merchant identifier.
    • getMerchantIdentifier

      public String getMerchantIdentifier()
      Gets the merchant identifier.
      Returns:
      the merchant identifier.
    • setAmount

      public void setAmount(float value)
      Sets the transaction amount.
      Parameters:
      value - the transaction amount.
    • getAmount

      public float getAmount()
      Gets the transaction amount.
      Returns:
      the transaction amount.
    • setCountry

      public void setCountry(String value)
      Sets the country code.
      Parameters:
      value - the country code.
    • getCountry

      public String getCountry()
      Gets the country code.
      Returns:
      the country code.
    • setPostalCode

      public void setPostalCode(String value)
      Sets the postal code.
      Parameters:
      value - the postal code.
    • getPostalCode

      public String getPostalCode()
      Gets the postal code.
      Returns:
      the postal code.
    • setState

      public void setState(String value)
      Sets the state or province.
      Parameters:
      value - the state or province.
    • getState

      public String getState()
      Gets the state or province.
      Returns:
      the state or province.
    • setMerchantSettings

      public void setMerchantSettings(PricingMerchantSettings value)
      Sets merchant settings for the pricing request.
      Parameters:
      value - merchant settings for the pricing request.
    • getMerchantSettings

      public PricingMerchantSettings getMerchantSettings()
      Gets merchant settings for the pricing request.
      Returns:
      merchant settings for the pricing request.