Class: Google::Apis::PaymentsresellersubscriptionV1::SubscriptionMigrationDetails

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

Overview

Describes the details of the migrated subscription.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubscriptionMigrationDetails

Returns a new instance of SubscriptionMigrationDetails.



1498
1499
1500
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1498

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

Instance Attribute Details

#migrated_subscription_idString

Output only. The migrated subscription id in the legacy system. Corresponds to the JSON property migratedSubscriptionId

Returns:

  • (String)


1496
1497
1498
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1496

def migrated_subscription_id
  @migrated_subscription_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1503
1504
1505
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1503

def update!(**args)
  @migrated_subscription_id = args[:migrated_subscription_id] if args.key?(:migrated_subscription_id)
end