public class MallTransactionCreateDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MallTransactionCreateDetails.Detail
This class represents a detail of a mall transaction.
|
| Modifier and Type | Method and Description |
|---|---|
MallTransactionCreateDetails |
add(double amount,
String commerceCode,
String buyOrder,
byte installmentsNumber)
Adds a new detail to the details of the transaction.
|
static MallTransactionCreateDetails |
build()
Builds a new MallTransactionCreateDetails.
|
static MallTransactionCreateDetails |
build(double amount,
String commerceCode,
String buyOrder,
byte installmentsNumber)
Builds a new MallTransactionCreateDetails with the specified amount, commerce code, buy order, and installments number.
|
boolean |
remove(double amount,
String commerceCode,
String buyOrder,
byte installmentsNumber)
Removes a detail from the details of the transaction.
|
public static MallTransactionCreateDetails build()
public static MallTransactionCreateDetails build(double amount, String commerceCode, String buyOrder, byte installmentsNumber)
amount - The amount of the transaction.commerceCode - The commerce code of the transaction.buyOrder - The buy order of the transaction.installmentsNumber - The number of installments for the transaction.public MallTransactionCreateDetails add(double amount, String commerceCode, String buyOrder, byte installmentsNumber)
amount - The amount of the detail.commerceCode - The commerce code of the detail.buyOrder - The buy order of the detail.installmentsNumber - The number of installments for the detail.public boolean remove(double amount,
String commerceCode,
String buyOrder,
byte installmentsNumber)
amount - The amount of the detail.commerceCode - The commerce code of the detail.buyOrder - The buy order of the detail.installmentsNumber - The number of installments for the detail.Copyright © 2018–2024. All rights reserved.