Class: Google::Apis::WalletobjectsV1::DiscoverableProgramMerchantSignupInfo
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::DiscoverableProgramMerchantSignupInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb
Overview
Information about the merchant hosted signup flow for a program.
Instance Attribute Summary collapse
-
#signup_shared_datas ⇒ Array<String>
User data that is sent in a POST request to the signup website URL.
-
#signup_website ⇒ Google::Apis::WalletobjectsV1::Uri
The URL to direct the user to for the merchant's signup site.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiscoverableProgramMerchantSignupInfo
constructor
A new instance of DiscoverableProgramMerchantSignupInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiscoverableProgramMerchantSignupInfo
Returns a new instance of DiscoverableProgramMerchantSignupInfo.
1224 1225 1226 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1224 def initialize(**args) update!(**args) end |
Instance Attribute Details
#signup_shared_datas ⇒ Array<String>
User data that is sent in a POST request to the signup website URL. This
information is encoded and then shared so that the merchant's website can
prefill fields used to enroll the user for the discoverable program.
Corresponds to the JSON property signupSharedDatas
1217 1218 1219 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1217 def signup_shared_datas @signup_shared_datas end |
#signup_website ⇒ Google::Apis::WalletobjectsV1::Uri
The URL to direct the user to for the merchant's signup site.
Corresponds to the JSON property signupWebsite
1222 1223 1224 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1222 def signup_website @signup_website end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1229 1230 1231 1232 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1229 def update!(**args) @signup_shared_datas = args[:signup_shared_datas] if args.key?(:signup_shared_datas) @signup_website = args[:signup_website] if args.key?(:signup_website) end |