Class: Google::Apis::AndroidpublisherV3::SubscribeWithGoogleInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

Information associated with purchases made with 'Subscribe with Google'.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubscribeWithGoogleInfo

Returns a new instance of SubscribeWithGoogleInfo.



5155
5156
5157
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5155

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#email_addressString

The email address of the user when the subscription was purchased. Corresponds to the JSON property emailAddress

Returns:

  • (String)


5133
5134
5135
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5133

def email_address
  @email_address
end

#family_nameString

The family name of the user when the subscription was purchased. Corresponds to the JSON property familyName

Returns:

  • (String)


5138
5139
5140
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5138

def family_name
  @family_name
end

#given_nameString

The given name of the user when the subscription was purchased. Corresponds to the JSON property givenName

Returns:

  • (String)


5143
5144
5145
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5143

def given_name
  @given_name
end

#profile_idString

The Google profile id of the user when the subscription was purchased. Corresponds to the JSON property profileId

Returns:

  • (String)


5148
5149
5150
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5148

def profile_id
  @profile_id
end

#profile_nameString

The profile name of the user when the subscription was purchased. Corresponds to the JSON property profileName

Returns:

  • (String)


5153
5154
5155
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5153

def profile_name
  @profile_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5160
5161
5162
5163
5164
5165
5166
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5160

def update!(**args)
  @email_address = args[:email_address] if args.key?(:email_address)
  @family_name = args[:family_name] if args.key?(:family_name)
  @given_name = args[:given_name] if args.key?(:given_name)
  @profile_id = args[:profile_id] if args.key?(:profile_id)
  @profile_name = args[:profile_name] if args.key?(:profile_name)
end