Class IAPTransactionConfig
Configurator for an IAPTransaction instance.
Inheritance
Inherited Members
Namespace: UnityEngine.GameFoundation.Configs
Syntax
public sealed class IAPTransactionConfig : BaseTransactionConfig<IAPTransaction>, IBuildable<IAPTransaction>
Fields
productId
The ID of the product.
Declaration
public string productId
Field Value
Type | Description |
---|---|
String |
productType
The type of IAP product.
Declaration
public IAPProductType productType
Field Value
Type | Description |
---|---|
IAPProductType |
Methods
CompileTransaction(Rejectable)
Create a new TRuntimeObject
.
Declaration
protected override IAPTransaction CompileTransaction(Rejectable rejectable)
Parameters
Type | Name | Description |
---|---|---|
Rejectable | rejectable |
Returns
Type | Description |
---|---|
IAPTransaction | Return a promise handle to report how the operation went. The handle's result is the compiled item if the compilation was successful. |