public class V1PaymentSurcharge extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
V1PaymentSurcharge.Builder
Class to build instances of
V1PaymentSurcharge. |
| Constructor and Description |
|---|
V1PaymentSurcharge(String name,
V1Money appliedMoney,
String rate,
V1Money amountMoney,
String type,
Boolean taxable,
List<V1PaymentTax> taxes,
String surchargeId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
V1Money |
getAmountMoney()
Getter for AmountMoney.
|
V1Money |
getAppliedMoney()
Getter for AppliedMoney.
|
String |
getName()
Getter for Name.
|
String |
getRate()
Getter for Rate.
|
String |
getSurchargeId()
Getter for SurchargeId.
|
Boolean |
getTaxable()
Getter for Taxable.
|
List<V1PaymentTax> |
getTaxes()
Getter for Taxes.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
V1PaymentSurcharge.Builder |
toBuilder()
Builds a new
V1PaymentSurcharge.Builder object. |
String |
toString()
Converts this V1PaymentSurcharge into string format.
|
public V1PaymentSurcharge(String name, V1Money appliedMoney, String rate, V1Money amountMoney, String type, Boolean taxable, List<V1PaymentTax> taxes, String surchargeId)
name - String value for name.appliedMoney - V1Money value for appliedMoney.rate - String value for rate.amountMoney - V1Money value for amountMoney.type - String value for type.taxable - Boolean value for taxable.taxes - List of V1PaymentTax value for taxes.surchargeId - String value for surchargeId.public String getName()
public V1Money getAppliedMoney()
public String getRate()
public V1Money getAmountMoney()
public String getType()
public Boolean getTaxable()
public List<V1PaymentTax> getTaxes()
public String getSurchargeId()
public String toString()
public V1PaymentSurcharge.Builder toBuilder()
V1PaymentSurcharge.Builder object.
Creates the instance with the state of the current model.V1PaymentSurcharge.Builder objectCopyright © 2022. All rights reserved.