This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ingenico ePayments
committed
Sep 27, 2017
1 parent
6e0334b
commit bdda1a8
Showing
4 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
lib/ingenico/connect/sdk/domain/riskassessments/contact_details_risk_assessment.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# | ||
# This class was auto-generated from the API references found at | ||
# https://epayments-api.developer-ingenico.com/s2sapi/v1/ | ||
# | ||
require 'ingenico/connect/sdk/data_object' | ||
|
||
module Ingenico::Connect::SDK | ||
module Domain | ||
module Riskassessments | ||
|
||
class ContactDetailsRiskAssessment < Ingenico::Connect::SDK::DataObject | ||
|
||
# String | ||
attr_accessor :email_address | ||
|
||
def to_h | ||
hash = super | ||
add_to_hash(hash, 'emailAddress', @email_address) | ||
hash | ||
end | ||
|
||
def from_hash(hash) | ||
super | ||
if hash.has_key?('emailAddress') | ||
@email_address = hash['emailAddress'] | ||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters