new Transaction()
- Source:
Methods
(static) Transaction#getClientCreatedTime() → {Number}
Get the field value
The time when the transaction was recorded on the client
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Transaction#getCreatedTime() → {Number}
Get the field value
The time when the transaction was recorded on the server
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Transaction#getCredit() → {payments.Credit}
Get the field value
- Source:
Returns:
- Type
- payments.Credit
(static) Transaction#getCreditRefund() → {payments.CreditRefund}
Get the field value
- Source:
Returns:
(static) Transaction#getPayment() → {payments.Payment}
Get the field value
- Source:
Returns:
- Type
- payments.Payment
(static) Transaction#getRefund() → {payments.Refund}
Get the field value
- Source:
Returns:
- Type
- payments.Refund
(static) Transaction#setClientCreatedTime(clientCreatedTime)
Set the field value
The time when the transaction was recorded on the client
Parameters:
Name | Type | Description |
---|---|---|
clientCreatedTime |
Number | must be a long integer |
- Source:
(static) Transaction#setCreatedTime(createdTime)
Set the field value
The time when the transaction was recorded on the server
Parameters:
Name | Type | Description |
---|---|---|
createdTime |
Number | must be a long integer |
- Source:
(static) Transaction#setCredit(credit)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
credit |
payments.Credit |
- Source:
(static) Transaction#setCreditRefund(creditRefund)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
creditRefund |
payments.CreditRefund |
- Source:
(static) Transaction#setPayment(payment)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
payment |
payments.Payment |
- Source:
(static) Transaction#setRefund(refund)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
refund |
payments.Refund |
- Source: