Package com.xero.models.bankfeeds
Class StatementLine
- java.lang.Object
-
- com.xero.models.bankfeeds.StatementLine
-
public class StatementLine extends Object
the lines details for a statement
-
-
Constructor Summary
Constructors Constructor Description StatementLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatementLineamount(Double amount)Transaction amountStatementLinechequeNumber(String chequeNumber)The cheque/check numberStatementLinecreditDebitIndicator(CreditDebitIndicator creditDebitIndicator)creditDebitIndicatorStatementLinedescription(String description)Transaction descriptionbooleanequals(Object o)DoublegetAmount()Transaction amountStringgetChequeNumber()The cheque/check number maximum: 20CreditDebitIndicatorgetCreditDebitIndicator()Get creditDebitIndicatorStringgetDescription()Transaction description maximum: 2000StringgetPayeeName()Typically the merchant or payee name maximum: 255org.threeten.bp.LocalDategetPostedDate()The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DDStringgetReference()Optional field to enhance the Description maximum: 255StringgetTransactionId()Financial institute's internal transaction identifier.StringgetTransactionType()Descriptive transaction type maximum: 30inthashCode()StatementLinepayeeName(String payeeName)Typically the merchant or payee nameStatementLinepostedDate(org.threeten.bp.LocalDate postedDate)The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DDStatementLinereference(String reference)Optional field to enhance the DescriptionvoidsetAmount(Double amount)Transaction amountvoidsetChequeNumber(String chequeNumber)The cheque/check numbervoidsetCreditDebitIndicator(CreditDebitIndicator creditDebitIndicator)creditDebitIndicatorvoidsetDescription(String description)Transaction descriptionvoidsetPayeeName(String payeeName)Typically the merchant or payee namevoidsetPostedDate(org.threeten.bp.LocalDate postedDate)The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DDvoidsetReference(String reference)Optional field to enhance the DescriptionvoidsetTransactionId(String transactionId)Financial institute's internal transaction identifier.voidsetTransactionType(String transactionType)Descriptive transaction typeStringtoString()StatementLinetransactionId(String transactionId)Financial institute's internal transaction identifier.StatementLinetransactionType(String transactionType)Descriptive transaction type
-
-
-
Method Detail
-
postedDate
public StatementLine postedDate(org.threeten.bp.LocalDate postedDate)
The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DD- Parameters:
postedDate- LocalDate- Returns:
- StatementLine
-
getPostedDate
public org.threeten.bp.LocalDate getPostedDate()
The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DD- Returns:
- postedDate
-
setPostedDate
public void setPostedDate(org.threeten.bp.LocalDate postedDate)
The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DD- Parameters:
postedDate- LocalDate
-
description
public StatementLine description(String description)
Transaction description- Parameters:
description- String- Returns:
- StatementLine
-
getDescription
public String getDescription()
Transaction description maximum: 2000- Returns:
- description
-
setDescription
public void setDescription(String description)
Transaction description- Parameters:
description- String
-
amount
public StatementLine amount(Double amount)
Transaction amount- Parameters:
amount- Double- Returns:
- StatementLine
-
getAmount
public Double getAmount()
Transaction amount- Returns:
- amount
-
setAmount
public void setAmount(Double amount)
Transaction amount- Parameters:
amount- Double
-
creditDebitIndicator
public StatementLine creditDebitIndicator(CreditDebitIndicator creditDebitIndicator)
creditDebitIndicator- Parameters:
creditDebitIndicator- CreditDebitIndicator- Returns:
- StatementLine
-
getCreditDebitIndicator
public CreditDebitIndicator getCreditDebitIndicator()
Get creditDebitIndicator- Returns:
- creditDebitIndicator
-
setCreditDebitIndicator
public void setCreditDebitIndicator(CreditDebitIndicator creditDebitIndicator)
creditDebitIndicator- Parameters:
creditDebitIndicator- CreditDebitIndicator
-
transactionId
public StatementLine transactionId(String transactionId)
Financial institute's internal transaction identifier. If provided this field is factored into duplicate detection.- Parameters:
transactionId- String- Returns:
- StatementLine
-
getTransactionId
public String getTransactionId()
Financial institute's internal transaction identifier. If provided this field is factored into duplicate detection.- Returns:
- transactionId
-
setTransactionId
public void setTransactionId(String transactionId)
Financial institute's internal transaction identifier. If provided this field is factored into duplicate detection.- Parameters:
transactionId- String
-
payeeName
public StatementLine payeeName(String payeeName)
Typically the merchant or payee name- Parameters:
payeeName- String- Returns:
- StatementLine
-
getPayeeName
public String getPayeeName()
Typically the merchant or payee name maximum: 255- Returns:
- payeeName
-
setPayeeName
public void setPayeeName(String payeeName)
Typically the merchant or payee name- Parameters:
payeeName- String
-
reference
public StatementLine reference(String reference)
Optional field to enhance the Description- Parameters:
reference- String- Returns:
- StatementLine
-
getReference
public String getReference()
Optional field to enhance the Description maximum: 255- Returns:
- reference
-
setReference
public void setReference(String reference)
Optional field to enhance the Description- Parameters:
reference- String
-
chequeNumber
public StatementLine chequeNumber(String chequeNumber)
The cheque/check number- Parameters:
chequeNumber- String- Returns:
- StatementLine
-
getChequeNumber
public String getChequeNumber()
The cheque/check number maximum: 20- Returns:
- chequeNumber
-
setChequeNumber
public void setChequeNumber(String chequeNumber)
The cheque/check number- Parameters:
chequeNumber- String
-
transactionType
public StatementLine transactionType(String transactionType)
Descriptive transaction type- Parameters:
transactionType- String- Returns:
- StatementLine
-
getTransactionType
public String getTransactionType()
Descriptive transaction type maximum: 30- Returns:
- transactionType
-
setTransactionType
public void setTransactionType(String transactionType)
Descriptive transaction type- Parameters:
transactionType- String
-
-