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.



1481
1482
1483
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1481

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)


1479
1480
1481
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1479

def migrated_subscription_id
  @migrated_subscription_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1486
1487
1488
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1486

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