public class MemberaccountFormatter.Memberaccount extends Object
Constructor and Description |
---|
Memberaccount(org.json.JSONObject jRecord)
The constructor takes a JSON string which must contain the
respective attributes.
|
Modifier and Type | Method and Description |
---|---|
Double |
getAmount()
Get the amount of the transaction
|
Double |
getBalance()
Get the balance after the transaction
|
Date |
getCreated_at()
Get the transaction date
|
String |
getCustomer_id()
Get the customer id
|
CustomerFormatter |
getCustomer()
Get the customer associated with the transaction
|
String |
getTrans_type()
Get the localized transaction type
|
String |
getTransaction_id()
Get the transaction id
|
Date |
getUpdated_at()
Currently the same as created_at
|
String |
printAmount()
Print the amount of the transaction
|
String |
printBalance()
Print the balance after the transaction
|
String |
printCreated_at()
Print the transaction date
|
String |
printUpdated_at()
Currently the same as created_at
|
public Memberaccount(org.json.JSONObject jRecord)
jRecord
- The JSON representation of the record.public Double getAmount()
public String printAmount()
public Double getBalance()
public String printBalance()
public Date getCreated_at()
public String printCreated_at()
public String getCustomer_id()
public String getTrans_type()
public String getTransaction_id()
public Date getUpdated_at()
public String printUpdated_at()
public CustomerFormatter getCustomer()
Copyright © 2021. All rights reserved.