public class LineItem extends Object
Constructor and Description |
---|
LineItem(PaymentRequest parent) |
Modifier and Type | Method and Description |
---|---|
LineItem |
additionalField(String key,
Object value) |
LineItem |
amount(javax.money.MonetaryAmount amount) |
LineItem |
category(String category) |
LineItem |
description(String description) |
PaymentRequest |
done() |
Map<String,Object> |
getAdditionalFields() |
javax.money.MonetaryAmount |
getAmount() |
String |
getCategory() |
String |
getDescription() |
javax.money.MonetaryAmount |
getItemTotal() |
String |
getName() |
PaymentRequest |
getParent() |
int |
getQuantity() |
String |
getShortDescription() |
String |
getSystemId() |
javax.money.MonetaryAmount |
getTax() |
javax.money.MonetaryAmount |
getTotal() |
LineItem |
itemTotal(javax.money.MonetaryAmount itemTotal) |
LineItem |
name(String name) |
LineItem |
quantity(int quantity) |
LineItem |
shortDescription(String shortDescription) |
LineItem |
systemId(String systemId) |
LineItem |
tax(javax.money.MonetaryAmount tax) |
LineItem |
total(javax.money.MonetaryAmount total) |
public LineItem(PaymentRequest parent)
public PaymentRequest done()
public LineItem quantity(int quantity)
public LineItem amount(javax.money.MonetaryAmount amount)
public LineItem tax(javax.money.MonetaryAmount tax)
public LineItem itemTotal(javax.money.MonetaryAmount itemTotal)
public LineItem total(javax.money.MonetaryAmount total)
public PaymentRequest getParent()
public String getName()
public String getDescription()
public String getShortDescription()
public String getSystemId()
public String getCategory()
public int getQuantity()
public javax.money.MonetaryAmount getAmount()
public javax.money.MonetaryAmount getTax()
public javax.money.MonetaryAmount getItemTotal()
public javax.money.MonetaryAmount getTotal()
Copyright © 2021. All rights reserved.