Class XAIPrepaidBalance.XAIBalanceChange
Inherited Members
Namespace: Glitch9.AIDevKit.xAI
Assembly: Glitch9.AIDevKit.Provider.XAI.dll
Syntax
public class XAIPrepaidBalance.XAIBalanceChange
Properties
| Edit this page View SourceAmount
Required. Representation of USD Cents.
Declaration
[JsonProperty("amount")]
public XAIPrepaidBalance.Amount Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| XAIPrepaidBalance.Amount |
ChangeOrigin
Required. The reason for the change.
- PURCHASE: Purchase by user. amount field will be negative.
- SPEND: Spending by user. amount field will be positive.
- REFUND: A refund issued to user. amount field will be negative.
- MANUAL: Can be either positive or negative, performed by xAI staff.
- AUTO_PURCHASE: Can only be negative.
Declaration
[JsonProperty("changeOrigin")]
public string ChangeOrigin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateTime
Required. Creation time of the invoice.
Declaration
[JsonProperty("createTime")]
public string CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateTs
Required. Creation timestamp.
Declaration
[JsonProperty("createTs")]
public string CreateTs { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InvoiceId
Required. Invoice ID.
Declaration
[JsonProperty("invoiceId")]
public string InvoiceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InvoiceNumber
Required. Invoice number.
Declaration
[JsonProperty("invoiceNumber")]
public string InvoiceNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PaymentProcessor
Required. Payment processor information.
Declaration
[JsonProperty("paymentProcessor")]
public XAIPrepaidBalance.PaymentProcessor PaymentProcessor { get; set; }
Property Value
| Type | Description |
|---|---|
| XAIPrepaidBalance.PaymentProcessor |
SpendBpKeyMonth
Required. Calendar month the purchase is made in.
Declaration
[JsonProperty("spendBpKeyMonth")]
public int SpendBpKeyMonth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SpendBpKeyYear
Required. Calendar year the purchase is made in.
Declaration
[JsonProperty("spendBpKeyYear")]
public int SpendBpKeyYear { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TeamId
Required. The team ID.
Declaration
[JsonProperty("teamId")]
public string TeamId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TopupStatus
Required. Status of the top up.
Declaration
[JsonProperty("topupStatus")]
public string TopupStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Total
Required. Representation of USD Cents.
Declaration
[JsonProperty("total")]
public XAIPrepaidBalance.Amount Total { get; set; }
Property Value
| Type | Description |
|---|---|
| XAIPrepaidBalance.Amount |
Val
Required. Value.
Declaration
[JsonProperty("val")]
public string Val { get; set; }
Property Value
| Type | Description |
|---|---|
| string |