Class ExternaltransactionsResource.CreateexternaltransactionRequest
Creates a new external transaction.
Inheritance
ExternaltransactionsResource.CreateexternaltransactionRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class ExternaltransactionsResource.CreateexternaltransactionRequest : AndroidPublisherBaseServiceRequest<ExternalTransaction>, IClientServiceRequest<ExternalTransaction>, IClientServiceRequest
Constructors
CreateexternaltransactionRequest(IClientService, ExternalTransaction, string)
Constructs a new Createexternaltransaction request.
Declaration
public CreateexternaltransactionRequest(IClientService service, ExternalTransaction body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ExternalTransaction | body | |
string | parent |
Properties
ExternalTransactionId
Required. The id to use for the external transaction. Must be unique across all other transactions for the app. This value should be 1-63 characters and valid characters are /a-zA-Z0-9_-/. Do not use this field to store any Personally Identifiable Information (PII) such as emails. Attempting to store PII in this field may result in requests being blocked.
Declaration
[RequestParameter("externalTransactionId", RequestParameterType.Query)]
public virtual string ExternalTransactionId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The parent resource where this external transaction will be created. Format: applications/{package_name}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Createexternaltransaction parameter list.
Declaration
protected override void InitParameters()