Package com.mypurecloud.sdk.v2.model
Class PaymentRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.PaymentRequest
- All Implemented Interfaces:
Serializable
PaymentRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe payment platform being used (e.g. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountryCode(String countryCode) The merchant's two-letter ISO 3166 country code.currencyCode(String currencyCode) The three-letter ISO 4217 currency code for the payment.booleaninthashCode()lineItems(List<PaymentLineItem> lineItems) The items that make up the order.orderTotal(Double orderTotal) The total price of the order.paymentPlatform(PaymentRequest.PaymentPlatformEnum paymentPlatform) The payment platform being used (e.g.voidsetCountryCode(String countryCode) voidsetCurrencyCode(String currencyCode) voidsetLineItems(List<PaymentLineItem> lineItems) voidsetOrderTotal(Double orderTotal) voidsetPaymentPlatform(PaymentRequest.PaymentPlatformEnum paymentPlatform) voidsetShippingOptions(List<PaymentLineItem> shippingOptions) shippingOptions(List<PaymentLineItem> shippingOptions) The available shipping options.toString()
-
Constructor Details
-
PaymentRequest
public PaymentRequest() -
PaymentRequest
-
-
Method Details
-
paymentPlatform
The payment platform being used (e.g. Apple Pay) -
getPaymentPlatform
-
setPaymentPlatform
-
countryCode
The merchant's two-letter ISO 3166 country code. -
getCountryCode
-
setCountryCode
-
currencyCode
The three-letter ISO 4217 currency code for the payment. -
getCurrencyCode
-
setCurrencyCode
-
orderTotal
The total price of the order. -
getOrderTotal
-
setOrderTotal
-
lineItems
The items that make up the order. -
getLineItems
-
setLineItems
-
shippingOptions
The available shipping options. -
getShippingOptions
-
setShippingOptions
-
equals
-
hashCode
public int hashCode() -
toString
-