Package com.blockchyp.client.dto
Class PricingRequestAttributes
java.lang.Object
com.blockchyp.client.dto.PricingRequestAttributes
Models the attributes for a pricing request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatGets the transaction amount.Gets the card number for the pricing request.Gets the country code.Gets the merchant identifier.Gets merchant settings for the pricing request.Gets the postal code.getState()Gets the state or province.getToken()Gets the payment token.voidsetAmount(float value) Sets the transaction amount.voidsetCardNumber(String value) Sets the card number for the pricing request.voidsetCountry(String value) Sets the country code.voidsetMerchantIdentifier(String value) Sets the merchant identifier.voidSets merchant settings for the pricing request.voidsetPostalCode(String value) Sets the postal code.voidSets the state or province.voidSets the payment token.
-
Constructor Details
-
PricingRequestAttributes
public PricingRequestAttributes()
-
-
Method Details
-
setCardNumber
Sets the card number for the pricing request.- Parameters:
value- the card number for the pricing request.
-
getCardNumber
Gets the card number for the pricing request.- Returns:
- the card number for the pricing request.
-
setToken
Sets the payment token.- Parameters:
value- the payment token.
-
getToken
Gets the payment token.- Returns:
- the payment token.
-
setMerchantIdentifier
Sets the merchant identifier.- Parameters:
value- the merchant identifier.
-
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
Sets the country code.- Parameters:
value- the country code.
-
getCountry
Gets the country code.- Returns:
- the country code.
-
setPostalCode
Sets the postal code.- Parameters:
value- the postal code.
-
getPostalCode
Gets the postal code.- Returns:
- the postal code.
-
setState
Sets the state or province.- Parameters:
value- the state or province.
-
getState
Gets the state or province.- Returns:
- the state or province.
-
setMerchantSettings
Sets merchant settings for the pricing request.- Parameters:
value- merchant settings for the pricing request.
-
getMerchantSettings
Gets merchant settings for the pricing request.- Returns:
- merchant settings for the pricing request.
-