public class MallTransactionCreateDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MallTransactionCreateDetails.Detail
Gets the details of this MallTransactionCreateDetails.
|
| Modifier and Type | Method and Description |
|---|---|
MallTransactionCreateDetails |
add(double amount,
String commerceCode,
String buyOrder)
Adds a new detail to this MallTransactionCreateDetails.
|
static MallTransactionCreateDetails |
build()
Builds a new MallTransactionCreateDetails instance.
|
static MallTransactionCreateDetails |
build(double amount,
String commerceCode,
String buyOrder)
Builds a new MallTransactionCreateDetails instance and adds the provided detail.
|
List<MallTransactionCreateDetails.Detail> |
getDetails()
Gets the details of this MallTransactionCreateDetails.
|
boolean |
remove(double amount,
String commerceCode,
String buyOrder)
Removes a detail from this MallTransactionCreateDetails.
|
public static MallTransactionCreateDetails build()
public static MallTransactionCreateDetails build(double amount, String commerceCode, String buyOrder)
amount - The amount of the transaction.commerceCode - The commerce code.buyOrder - The buy order.public MallTransactionCreateDetails add(double amount, String commerceCode, String buyOrder)
amount - The amount of the transaction.commerceCode - The commerce code.buyOrder - The buy order.public boolean remove(double amount,
String commerceCode,
String buyOrder)
amount - The amount of the transaction.commerceCode - The commerce code.buyOrder - The buy order.public List<MallTransactionCreateDetails.Detail> getDetails()
Copyright © 2018–2024. All rights reserved.