Class: Aws::Billing::Types::ContractDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb

Overview

Note:

ContractDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ContractDetails corresponding to the set member.

The details of a contract returned by GetContractInformation. This is a union in which exactly one member is set, corresponding to the contract type. For a private pricing addendum, the privatePricingAddendum member is set. Check which member is present to determine the contract type.

Defined Under Namespace

Classes: PrivatePricingAddendum, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#private_pricing_addendum ⇒ Types::PrivatePricingAddendum

The details of a private pricing addendum contract. This member is set when the contract is a private pricing addendum.



983
984
985
986
987
988
989
990
991
992
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 983

class ContractDetails < Struct.new(
  :private_pricing_addendum,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PrivatePricingAddendum < ContractDetails; end
  class Unknown < ContractDetails; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



983
984
985
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 983

def unknown
  @unknown
end