Class GoogleCloudRecaptchaenterpriseV1TransactionData
Transaction data associated with a payment protected by reCAPTCHA Enterprise.
Implements
Inherited Members
Namespace: Google.Apis.RecaptchaEnterprise.v1.Data
Assembly: Google.Apis.RecaptchaEnterprise.v1.dll
Syntax
public class GoogleCloudRecaptchaenterpriseV1TransactionData : IDirectResponseSchema
Properties
BillingAddress
Optional. Address associated with the payment method when applicable.
Declaration
[JsonProperty("billingAddress")]
public virtual GoogleCloudRecaptchaenterpriseV1TransactionDataAddress BillingAddress { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecaptchaenterpriseV1TransactionDataAddress |
CardBin
Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card.
Declaration
[JsonProperty("cardBin")]
public virtual string CardBin { get; set; }
Property Value
Type | Description |
---|---|
string |
CardLastFour
Optional. The last four digits of the card.
Declaration
[JsonProperty("cardLastFour")]
public virtual string CardLastFour { get; set; }
Property Value
Type | Description |
---|---|
string |
CurrencyCode
Optional. The currency code in ISO-4217 format.
Declaration
[JsonProperty("currencyCode")]
public virtual string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GatewayInfo
Optional. Information about the payment gateway's response to the transaction.
Declaration
[JsonProperty("gatewayInfo")]
public virtual GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo GatewayInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo |
Items
Optional. Items purchased in this transaction.
Declaration
[JsonProperty("items")]
public virtual IList<GoogleCloudRecaptchaenterpriseV1TransactionDataItem> Items { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRecaptchaenterpriseV1TransactionDataItem> |
Merchants
Optional. Information about the user or users fulfilling the transaction.
Declaration
[JsonProperty("merchants")]
public virtual IList<GoogleCloudRecaptchaenterpriseV1TransactionDataUser> Merchants { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRecaptchaenterpriseV1TransactionDataUser> |
PaymentMethod
Optional. The payment method for the transaction. The allowed values are: * credit-card * debit-card * gift-card * processor-{name} (If a third-party is used, for example, processor-paypal) * custom-{name} (If an alternative method is used, for example, custom-crypto)
Declaration
[JsonProperty("paymentMethod")]
public virtual string PaymentMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
ShippingAddress
Optional. Destination address if this transaction involves shipping a physical item.
Declaration
[JsonProperty("shippingAddress")]
public virtual GoogleCloudRecaptchaenterpriseV1TransactionDataAddress ShippingAddress { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecaptchaenterpriseV1TransactionDataAddress |
ShippingValue
Optional. The value of shipping in the specified currency. 0 for free or no shipping.
Declaration
[JsonProperty("shippingValue")]
public virtual double? ShippingValue { get; set; }
Property Value
Type | Description |
---|---|
double? |
TransactionId
Unique identifier for the transaction. This custom identifier can be used to reference this transaction in the future, for example, labeling a refund or chargeback event. Two attempts at the same transaction should use the same transaction id.
Declaration
[JsonProperty("transactionId")]
public virtual string TransactionId { get; set; }
Property Value
Type | Description |
---|---|
string |
User
Optional. Information about the user paying/initiating the transaction.
Declaration
[JsonProperty("user")]
public virtual GoogleCloudRecaptchaenterpriseV1TransactionDataUser User { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecaptchaenterpriseV1TransactionDataUser |
Value
Optional. The decimal value of the transaction in the specified currency.
Declaration
[JsonProperty("value")]
public virtual double? Value { get; set; }
Property Value
Type | Description |
---|---|
double? |