Package com.xero.models.payrollnz
Class PaymentMethod
- java.lang.Object
-
- com.xero.models.payrollnz.PaymentMethod
-
public class PaymentMethod extends Object
PaymentMethod
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethod.PaymentMethodEnumThe payment method code
-
Constructor Summary
Constructors Constructor Description PaymentMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentMethodaddBankAccountsItem(BankAccount bankAccountsItem)bankAccountsPaymentMethodbankAccounts(List<BankAccount> bankAccounts)bankAccountsbooleanequals(Object o)List<BankAccount>getBankAccounts()Get bankAccountsPaymentMethod.PaymentMethodEnumgetPaymentMethod()The payment method codeinthashCode()PaymentMethodpaymentMethod(PaymentMethod.PaymentMethodEnum paymentMethod)The payment method codevoidsetBankAccounts(List<BankAccount> bankAccounts)bankAccountsvoidsetPaymentMethod(PaymentMethod.PaymentMethodEnum paymentMethod)The payment method codeStringtoString()
-
-
-
Method Detail
-
paymentMethod
public PaymentMethod paymentMethod(PaymentMethod.PaymentMethodEnum paymentMethod)
The payment method code- Parameters:
paymentMethod- PaymentMethodEnum- Returns:
- PaymentMethod
-
getPaymentMethod
public PaymentMethod.PaymentMethodEnum getPaymentMethod()
The payment method code- Returns:
- paymentMethod
-
setPaymentMethod
public void setPaymentMethod(PaymentMethod.PaymentMethodEnum paymentMethod)
The payment method code- Parameters:
paymentMethod- PaymentMethodEnum
-
bankAccounts
public PaymentMethod bankAccounts(List<BankAccount> bankAccounts)
bankAccounts- Parameters:
bankAccounts- List<BankAccount>- Returns:
- PaymentMethod
-
addBankAccountsItem
public PaymentMethod addBankAccountsItem(BankAccount bankAccountsItem)
bankAccounts- Parameters:
bankAccountsItem- BankAccount- Returns:
- PaymentMethod
-
getBankAccounts
public List<BankAccount> getBankAccounts()
Get bankAccounts- Returns:
- bankAccounts
-
setBankAccounts
public void setBankAccounts(List<BankAccount> bankAccounts)
bankAccounts- Parameters:
bankAccounts- List<BankAccount>
-
-