Class ExternalTransaction
The details of an external transaction.
Implements
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3.Data
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class ExternalTransaction : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time when this transaction was created. This is the time when Google was notified of the transaction.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
CurrentPreTaxAmount
Output only. The current transaction amount before tax. This represents the current pre-tax amount including any refunds that may have been applied to this transaction.
Declaration
[JsonProperty("currentPreTaxAmount")]
public virtual Price CurrentPreTaxAmount { get; set; }
Property Value
Type | Description |
---|---|
Price |
CurrentTaxAmount
Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction.
Declaration
[JsonProperty("currentTaxAmount")]
public virtual Price CurrentTaxAmount { get; set; }
Property Value
Type | Description |
---|---|
Price |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExternalTransactionId
Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction.
Declaration
[JsonProperty("externalTransactionId")]
public virtual string ExternalTransactionId { get; set; }
Property Value
Type | Description |
---|---|
string |
OneTimeTransaction
This is a one-time transaction and not part of a subscription.
Declaration
[JsonProperty("oneTimeTransaction")]
public virtual OneTimeExternalTransaction OneTimeTransaction { get; set; }
Property Value
Type | Description |
---|---|
OneTimeExternalTransaction |
OriginalPreTaxAmount
Required. The original transaction amount before taxes. This represents the pre-tax amount originally notified to Google before any refunds were applied.
Declaration
[JsonProperty("originalPreTaxAmount")]
public virtual Price OriginalPreTaxAmount { get; set; }
Property Value
Type | Description |
---|---|
Price |
OriginalTaxAmount
Required. The original tax amount. This represents the tax amount originally notified to Google before any refunds were applied.
Declaration
[JsonProperty("originalTaxAmount")]
public virtual Price OriginalTaxAmount { get; set; }
Property Value
Type | Description |
---|---|
Price |
PackageName
Output only. The resource name of the external transaction. The package name of the application the inapp products were sold (for example, 'com.some.app').
Declaration
[JsonProperty("packageName")]
public virtual string PackageName { get; set; }
Property Value
Type | Description |
---|---|
string |
RecurringTransaction
This transaction is part of a recurring series of transactions.
Declaration
[JsonProperty("recurringTransaction")]
public virtual RecurringExternalTransaction RecurringTransaction { get; set; }
Property Value
Type | Description |
---|---|
RecurringExternalTransaction |
TestPurchase
Output only. If set, this transaction was a test purchase. Google will not charge for a test transaction.
Declaration
[JsonProperty("testPurchase")]
public virtual ExternalTransactionTestPurchase TestPurchase { get; set; }
Property Value
Type | Description |
---|---|
ExternalTransactionTestPurchase |
TransactionProgramCode
Optional. The transaction program code, used to help determine service fee for eligible apps participating in partner programs. Developers participating in the Play Media Experience Program (https://play.google.com/console/about/programs/mediaprogram/) must provide the program code when reporting alternative billing transactions. If you are an eligible developer, please contact your BDM for more information on how to set this field. Note: this field can not be used for external offers transactions.
Declaration
[JsonProperty("transactionProgramCode")]
public virtual int? TransactionProgramCode { get; set; }
Property Value
Type | Description |
---|---|
int? |
TransactionState
Output only. The current state of the transaction.
Declaration
[JsonProperty("transactionState")]
public virtual string TransactionState { get; set; }
Property Value
Type | Description |
---|---|
string |
TransactionTime
object representation of TransactionTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TransactionTimeDateTimeOffset instead.")]
public virtual object TransactionTime { get; set; }
Property Value
Type | Description |
---|---|
object |
TransactionTimeDateTimeOffset
DateTimeOffset representation of TransactionTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TransactionTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
TransactionTimeRaw
Required. The time when the transaction was completed.
Declaration
[JsonProperty("transactionTime")]
public virtual string TransactionTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
UserTaxAddress
Required. User address for tax computation.
Declaration
[JsonProperty("userTaxAddress")]
public virtual ExternalTransactionAddress UserTaxAddress { get; set; }
Property Value
Type | Description |
---|---|
ExternalTransactionAddress |