Class: Stripe::TestHelpers::Issuing::AuthorizationService::CreateParams::VerificationData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/test_helpers/issuing/authorization_service.rb

Defined Under Namespace

Classes: AuthenticationExemption, ThreeDSecure

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(address_line1_check: nil, address_postal_code_check: nil, authentication_exemption: nil, cvc_check: nil, expiry_check: nil, three_d_secure: nil) ⇒ VerificationData

Returns a new instance of VerificationData.



227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 227

def initialize(
  address_line1_check: nil,
  address_postal_code_check: nil,
  authentication_exemption: nil,
  cvc_check: nil,
  expiry_check: nil,
  three_d_secure: nil
)
  @address_line1_check = address_line1_check
  @address_postal_code_check = address_postal_code_check
  @authentication_exemption = authentication_exemption
  @cvc_check = cvc_check
  @expiry_check = expiry_check
  @three_d_secure = three_d_secure
end

Instance Attribute Details

#address_line1_checkObject

Whether the cardholder provided an address first line and if it matched the cardholder’s ‘billing.address.line1`.



215
216
217
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 215

def address_line1_check
  @address_line1_check
end

#address_postal_code_checkObject

Whether the cardholder provided a postal code and if it matched the cardholder’s ‘billing.address.postal_code`.



217
218
219
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 217

def address_postal_code_check
  @address_postal_code_check
end

#authentication_exemptionObject

The exemption applied to this authorization.



219
220
221
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 219

def authentication_exemption
  @authentication_exemption
end

#cvc_checkObject

Whether the cardholder provided a CVC and if it matched Stripe’s record.



221
222
223
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 221

def cvc_check
  @cvc_check
end

#expiry_checkObject

Whether the cardholder provided an expiry date and if it matched Stripe’s record.



223
224
225
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 223

def expiry_check
  @expiry_check
end

#three_d_secureObject

3D Secure details.



225
226
227
# File 'lib/stripe/services/test_helpers/issuing/authorization_service.rb', line 225

def three_d_secure
  @three_d_secure
end