Class: Google::Apis::ResellerV1::Subscription::TransferInfo
- Inherits:
-
Object
- Object
- Google::Apis::ResellerV1::Subscription::TransferInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/reseller_v1/classes.rb,
lib/google/apis/reseller_v1/representations.rb,
lib/google/apis/reseller_v1/representations.rb
Overview
Read-only transfer related information for the subscription. For more information, see retrieve transferable subscriptions for a customer.
Instance Attribute Summary collapse
-
#current_legacy_sku_id ⇒ String
Sku id of the current resold subscription.
-
#minimum_transferable_seats ⇒ Fixnum
When inserting a subscription, this is the minimum number of seats listed in the transfer order for this product.
-
#transferability_expiration_time ⇒ Fixnum
The time when transfer token or intent to transfer will expire.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferInfo
constructor
A new instance of TransferInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransferInfo
Returns a new instance of TransferInfo.
654 655 656 |
# File 'lib/google/apis/reseller_v1/classes.rb', line 654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_legacy_sku_id ⇒ String
Sku id of the current resold subscription. This is populated only when
customer has subscription with legacy sku and the subscription resource is
populated with recommeded sku for transfer in.
Corresponds to the JSON property currentLegacySkuId
638 639 640 |
# File 'lib/google/apis/reseller_v1/classes.rb', line 638 def current_legacy_sku_id @current_legacy_sku_id end |
#minimum_transferable_seats ⇒ Fixnum
When inserting a subscription, this is the minimum number of seats listed in
the transfer order for this product. For example, if the customer has 20 users,
the reseller cannot place a transfer order of 15 seats. The minimum is 20
seats.
Corresponds to the JSON property minimumTransferableSeats
646 647 648 |
# File 'lib/google/apis/reseller_v1/classes.rb', line 646 def minimum_transferable_seats @minimum_transferable_seats end |
#transferability_expiration_time ⇒ Fixnum
The time when transfer token or intent to transfer will expire. The time is in
milliseconds using UNIX Epoch format.
Corresponds to the JSON property transferabilityExpirationTime
652 653 654 |
# File 'lib/google/apis/reseller_v1/classes.rb', line 652 def transferability_expiration_time @transferability_expiration_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
659 660 661 662 663 |
# File 'lib/google/apis/reseller_v1/classes.rb', line 659 def update!(**args) @current_legacy_sku_id = args[:current_legacy_sku_id] if args.key?(:current_legacy_sku_id) @minimum_transferable_seats = args[:minimum_transferable_seats] if args.key?(:minimum_transferable_seats) @transferability_expiration_time = args[:transferability_expiration_time] if args.key?(:transferability_expiration_time) end |