PaymentSDK
Mobile payment SDK
de.wirecard.paymentsdk.models.Order Class Reference

Order data. More...

+ Inheritance diagram for de.wirecard.paymentsdk.models.Order:
+ Collaboration diagram for de.wirecard.paymentsdk.models.Order:

Public Instance Methods

 Order (String number, String detail, String descriptor, List< OrderItem > orderItems)
 Constructor. More...
 
 Order ()
 
String getNumber ()
 Returns merchant-provided string to store the 'Order Number' for the Transaction. More...
 
void setNumber (String number)
 Sets merchant-provided string to store the 'Order Number' for the Transaction. More...
 
String getDetail ()
 Returns derchant-provided string to store the 'Order Detail' for the Transaction. More...
 
void setDetail (String detail)
 Sets derchant-provided string to store the 'Order Detail' for the Transaction. More...
 
String getDescriptor ()
 Returns the description of the transaction that shows up on the Account Holder's statement. More...
 
void setDescriptor (String descriptor)
 Sets the description of the transaction that shows up on the Account Holder's statement. More...
 
List< OrderItemgetOrderItems ()
 Returns order Items. More...
 
void setOrderItems (List< OrderItem > orderItems)
 Sets order Items. More...
 

Private Fields

String number
 Merchant-provided string to store the 'Order Number' for the Transaction. More...
 
String detail
 Merchant-provided string to store the 'Order Detail' for the Transaction. More...
 
String descriptor
 The description of the transaction that shows up on the Account Holder's statement. More...
 
List< OrderItemorderItems
 Order Items. More...
 

Detailed Description

Order data.

Constructor & Destructor Documentation

de.wirecard.paymentsdk.models.Order.Order ( String  number,
String  detail,
String  descriptor,
List< OrderItem orderItems 
)
inline

Constructor.

Parameters
numberMerchant-provided string to store the 'Order Number' for the Transaction.
detailMerchant-provided string to store the 'Order Detail' for the Transaction.
descriptorThe description of the transaction that shows up on the Account Holder's statement.
orderItemsOrder Items.
de.wirecard.paymentsdk.models.Order.Order ( )
inline

Constructor.

Method Documentation

String de.wirecard.paymentsdk.models.Order.getDescriptor ( )
inline

Returns the description of the transaction that shows up on the Account Holder's statement.

Returns
String de.wirecard.paymentsdk.models.Order.getDetail ( )
inline

Returns derchant-provided string to store the 'Order Detail' for the Transaction.

Returns
detail
String de.wirecard.paymentsdk.models.Order.getNumber ( )
inline

Returns merchant-provided string to store the 'Order Number' for the Transaction.

Returns
number
List<OrderItem> de.wirecard.paymentsdk.models.Order.getOrderItems ( )
inline

Returns order Items.

Returns
orderItems
void de.wirecard.paymentsdk.models.Order.setDescriptor ( String  descriptor)
inline

Sets the description of the transaction that shows up on the Account Holder's statement.

Parameters
descriptor
void de.wirecard.paymentsdk.models.Order.setDetail ( String  detail)
inline

Sets derchant-provided string to store the 'Order Detail' for the Transaction.

Parameters
detail
void de.wirecard.paymentsdk.models.Order.setNumber ( String  number)
inline

Sets merchant-provided string to store the 'Order Number' for the Transaction.

Parameters
number
void de.wirecard.paymentsdk.models.Order.setOrderItems ( List< OrderItem orderItems)
inline

Sets order Items.

Parameters
orderItems

Member Data Documentation

String de.wirecard.paymentsdk.models.Order.descriptor
private

The description of the transaction that shows up on the Account Holder's statement.

String de.wirecard.paymentsdk.models.Order.detail
private

Merchant-provided string to store the 'Order Detail' for the Transaction.

String de.wirecard.paymentsdk.models.Order.number
private

Merchant-provided string to store the 'Order Number' for the Transaction.

List<OrderItem> de.wirecard.paymentsdk.models.Order.orderItems
private

Order Items.