Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb
Overview
Details about the transaction from the gateway.
Instance Attribute Summary collapse
-
#avs_response_code ⇒ String
Optional.
-
#cvv_response_code ⇒ String
Optional.
-
#gateway_response_code ⇒ String
Optional.
-
#name ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
Returns a new instance of GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo.
2008 2009 2010 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 2008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avs_response_code ⇒ String
Optional. AVS response code from the gateway (available only when reCAPTCHA
Enterprise is called after authorization).
Corresponds to the JSON property avsResponseCode
1990 1991 1992 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1990 def avs_response_code @avs_response_code end |
#cvv_response_code ⇒ String
Optional. CVV response code from the gateway (available only when reCAPTCHA
Enterprise is called after authorization).
Corresponds to the JSON property cvvResponseCode
1996 1997 1998 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1996 def cvv_response_code @cvv_response_code end |
#gateway_response_code ⇒ String
Optional. Gateway response code describing the state of the transaction.
Corresponds to the JSON property gatewayResponseCode
2001 2002 2003 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 2001 def gateway_response_code @gateway_response_code end |
#name ⇒ String
Optional. Name of the gateway service (for example, stripe, square, paypal).
Corresponds to the JSON property name
2006 2007 2008 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 2006 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2013 2014 2015 2016 2017 2018 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 2013 def update!(**args) @avs_response_code = args[:avs_response_code] if args.key?(:avs_response_code) @cvv_response_code = args[:cvv_response_code] if args.key?(:cvv_response_code) @gateway_response_code = args[:gateway_response_code] if args.key?(:gateway_response_code) @name = args[:name] if args.key?(:name) end |