public class BillingRecord extends Object implements Serializable, Cloneable
Constructor and Description |
---|
BillingRecord() |
Modifier and Type | Method and Description |
---|---|
BillingRecord |
clone() |
boolean |
equals(Object obj) |
Date |
getBillDate()
The date that the operation was billed, in Unix format.
|
String |
getDomainName()
The name of a domain.
|
String |
getInvoiceId()
The ID of the invoice that is associated with the billing record.
|
String |
getOperation()
The operation that you were charged for.
|
Double |
getPrice()
The price that you were charged for the operation, in US dollars.
|
int |
hashCode() |
void |
setBillDate(Date billDate)
The date that the operation was billed, in Unix format.
|
void |
setDomainName(String domainName)
The name of a domain.
|
void |
setInvoiceId(String invoiceId)
The ID of the invoice that is associated with the billing record.
|
void |
setOperation(OperationType operation)
The operation that you were charged for.
|
void |
setOperation(String operation)
The operation that you were charged for.
|
void |
setPrice(Double price)
The price that you were charged for the operation, in US dollars.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BillingRecord |
withBillDate(Date billDate)
The date that the operation was billed, in Unix format.
|
BillingRecord |
withDomainName(String domainName)
The name of a domain.
|
BillingRecord |
withInvoiceId(String invoiceId)
The ID of the invoice that is associated with the billing record.
|
BillingRecord |
withOperation(OperationType operation)
The operation that you were charged for.
|
BillingRecord |
withOperation(String operation)
The operation that you were charged for.
|
BillingRecord |
withPrice(Double price)
The price that you were charged for the operation, in US dollars.
|
public void setDomainName(String domainName)
The name of a domain.
Type: String
domainName
- The name of a domain.
Type: String
public String getDomainName()
The name of a domain.
Type: String
Type: String
public BillingRecord withDomainName(String domainName)
The name of a domain.
Type: String
domainName
- The name of a domain.
Type: String
public void setOperation(String operation)
The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
operation
- The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
OperationType
public String getOperation()
The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
OperationType
public BillingRecord withOperation(String operation)
The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
operation
- The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
OperationType
public void setOperation(OperationType operation)
The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
operation
- The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
OperationType
public BillingRecord withOperation(OperationType operation)
The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
operation
- The operation that you were charged for.
Type: String
Valid values:
REGISTER_DOMAIN
TRANSFER_IN_DOMAIN
RENEW_DOMAIN
CHANGE_DOMAIN_OWNER
OperationType
public void setInvoiceId(String invoiceId)
The ID of the invoice that is associated with the billing record.
Type: String
invoiceId
- The ID of the invoice that is associated with the billing record.
Type: String
public String getInvoiceId()
The ID of the invoice that is associated with the billing record.
Type: String
Type: String
public BillingRecord withInvoiceId(String invoiceId)
The ID of the invoice that is associated with the billing record.
Type: String
invoiceId
- The ID of the invoice that is associated with the billing record.
Type: String
public void setBillDate(Date billDate)
The date that the operation was billed, in Unix format.
Type: Double
billDate
- The date that the operation was billed, in Unix format.
Type: Double
public Date getBillDate()
The date that the operation was billed, in Unix format.
Type: Double
Type: Double
public BillingRecord withBillDate(Date billDate)
The date that the operation was billed, in Unix format.
Type: Double
billDate
- The date that the operation was billed, in Unix format.
Type: Double
public void setPrice(Double price)
The price that you were charged for the operation, in US dollars.
Type: Double
Example value: 12.0
price
- The price that you were charged for the operation, in US dollars.
Type: Double
Example value: 12.0
public Double getPrice()
The price that you were charged for the operation, in US dollars.
Type: Double
Example value: 12.0
Type: Double
Example value: 12.0
public BillingRecord withPrice(Double price)
The price that you were charged for the operation, in US dollars.
Type: Double
Example value: 12.0
price
- The price that you were charged for the operation, in US dollars.
Type: Double
Example value: 12.0
public String toString()
toString
in class Object
Object.toString()
public BillingRecord clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.