@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2015-12-03T18:48:57.986-05:00") public class Payment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Payment.PaymentMethodEnum |
| Constructor and Description |
|---|
Payment() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAgent()
Who registered this payment.\n If this field is not present, it means that the customer paid online on Bookeo's booking page.
|
Money |
getAmount()
The payment amount
|
String |
getComment()
An optional comment tracked with the payment.
|
Date |
getCreationTime()
When this record was created [read-only]
|
String |
getCustomerId()
The id of customer associated with this payment [read-only]
|
String |
getDescription()
Indicates what the payment was for (ex.
|
String |
getId()
[read-only]
|
Payment.PaymentMethodEnum |
getPaymentMethod() |
String |
getPaymentMethodOther()
If paymentMethod is 'other', this field is required, and it specifies what other method was used
|
String |
getReason()
Reason for the payment.
|
Date |
getReceivedTime()
When this payment was received
|
void |
setAgent(String agent) |
void |
setAmount(Money amount) |
void |
setComment(String comment) |
void |
setCreationTime(Date creationTime) |
void |
setCustomerId(String customerId) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setPaymentMethod(Payment.PaymentMethodEnum paymentMethod) |
void |
setPaymentMethodOther(String paymentMethodOther) |
void |
setReason(String reason) |
void |
setReceivedTime(Date receivedTime) |
String |
toString() |
public String getId()
public void setId(String id)
public Date getCreationTime()
public void setCreationTime(Date creationTime)
public Date getReceivedTime()
public void setReceivedTime(Date receivedTime)
public String getReason()
public void setReason(String reason)
public String getDescription()
public void setDescription(String description)
public String getComment()
public void setComment(String comment)
public Money getAmount()
public void setAmount(Money amount)
public Payment.PaymentMethodEnum getPaymentMethod()
public void setPaymentMethod(Payment.PaymentMethodEnum paymentMethod)
public String getPaymentMethodOther()
public void setPaymentMethodOther(String paymentMethodOther)
public String getAgent()
public void setAgent(String agent)
public String getCustomerId()
public void setCustomerId(String customerId)
Copyright © 2015. All rights reserved.