Transaction data associated with a payment protected by reCAPTCHA Enterprise.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.TransactionData
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearBillingAddress() |
| public clearGatewayInfo() |
| public clearShippingAddress() |
| public clearTransactionId() |
| public clearUser() |
| public getBillingAddress() Optional. Address associated with the payment method when applicable. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
|
| public getCardBin() Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card. Generated from protobuf field string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| public getCardLastFour() Optional. The last four digits of the card. Generated from protobuf field string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
|
| public getCurrencyCode() Optional. The currency code in ISO-4217 format. Generated from protobuf field string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
|
| public getGatewayInfo() Optional. Information about the payment gateway's response to the transaction. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
|
| public getItems() Optional. Items purchased in this transaction. Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
|
| public getMerchants() Optional. Information about the user or users fulfilling the transaction. Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
|
| public getPaymentMethod() Optional. The payment method for the transaction. The allowed values are:
Generated from protobuf field string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public getShippingAddress() Optional. Destination address if this transaction involves shipping a physical item. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
|
| public getShippingValue() Optional. The value of shipping in the specified currency. 0 for free or no shipping. Generated from protobuf field double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL];
|
| public getTransactionId() 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. Generated from protobuf field optional string transaction_id = 11;
|
| public getUser() Optional. Information about the user paying/initiating the transaction. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
|
| public getValue() Optional. The decimal value of the transaction in the specified currency. Generated from protobuf field double value = 5 [(.google.api.field_behavior) = OPTIONAL];
|
| public hasBillingAddress() |
| public hasGatewayInfo() |
| public hasShippingAddress() |
| public hasTransactionId() |
| public hasUser() |
| public setBillingAddress( $var) Optional. Address associated with the payment method when applicable. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
|
| public setCardBin( $var) Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card. Generated from protobuf field string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| public setCardLastFour( $var) Optional. The last four digits of the card. Generated from protobuf field string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
|
| public setCurrencyCode( $var) Optional. The currency code in ISO-4217 format. Generated from protobuf field string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
|
| public setGatewayInfo( $var) Optional. Information about the payment gateway's response to the transaction. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
|
| public setItems( $var) Optional. Items purchased in this transaction. Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
|
| public setMerchants( $var) Optional. Information about the user or users fulfilling the transaction. Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
|
| public setPaymentMethod( $var) Optional. The payment method for the transaction. The allowed values are:
Generated from protobuf field string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public setShippingAddress( $var) Optional. Destination address if this transaction involves shipping a physical item. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
|
| public setShippingValue( $var) Optional. The value of shipping in the specified currency. 0 for free or no shipping. Generated from protobuf field double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL];
|
| public setTransactionId( $var) 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. Generated from protobuf field optional string transaction_id = 11;
|
| public setUser( $var) Optional. Information about the user paying/initiating the transaction. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
|
| public setValue( $var) Optional. The decimal value of the transaction in the specified currency. Generated from protobuf field double value = 5 [(.google.api.field_behavior) = OPTIONAL];
|
| Properties |
| protected $billing_address = NULL Optional. Address associated with the payment method when applicable. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $card_bin = '' Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card. Generated from protobuf field string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $card_last_four = '' Optional. The last four digits of the card. Generated from protobuf field string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $currency_code = '' Optional. The currency code in ISO-4217 format. Generated from protobuf field string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $gateway_info = NULL Optional. Information about the payment gateway's response to the transaction. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $payment_method = '' Optional. The payment method for the transaction. The allowed values are:
Generated from protobuf field string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $shipping_address = NULL Optional. Destination address if this transaction involves shipping a physical item. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $shipping_value = 0 Optional. The value of shipping in the specified currency. 0 for free or no shipping. Generated from protobuf field double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $transaction_id = NULL 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. Generated from protobuf field optional string transaction_id = 11; |
| protected $user = NULL Optional. Information about the user paying/initiating the transaction. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $value = 0 Optional. The decimal value of the transaction in the specified currency. Generated from protobuf field double value = 5 [(.google.api.field_behavior) = OPTIONAL]; |
| Methods |
| Properties |
| private $items = NULL Optional. Items purchased in this transaction. Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL]; |
| private $merchants = NULL Optional. Information about the user or users fulfilling the transaction. Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL]; |