class Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponseProperties

Model object.

Attributes

billing_currency_total[RW]

@return [CalculatePriceResponsePropertiesBillingCurrencyTotal] Currency and amount that customer will be charged in customer's local currency. Tax is not included.

is_billing_partner_managed[RW]

@return [Boolean] True if billing is managed by Microsoft Partner. Used only for CSP accounts.

payment_schedule[RW]

@return [Array<PaymentDetail>]

pricing_currency_total[RW]

@return [CalculatePriceResponsePropertiesPricingCurrencyTotal] Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included.

reservation_order_id[RW]

@return [String] GUID that represents reservation order that can be placed after calculating price.

sku_description[RW]

@return [String] Description of SKU that is being purchased.

sku_title[RW]

@return [String] Title of SKU that is being purchased.

Private Class Methods

mapper() click to toggle source

Mapper for CalculatePriceResponseProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties.rb, line 48
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CalculatePriceResponseProperties',
    type: {
      name: 'Composite',
      class_name: 'CalculatePriceResponseProperties',
      model_properties: {
        billing_currency_total: {
          client_side_validation: true,
          required: false,
          serialized_name: 'billingCurrencyTotal',
          type: {
            name: 'Composite',
            class_name: 'CalculatePriceResponsePropertiesBillingCurrencyTotal'
          }
        },
        is_billing_partner_managed: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isBillingPartnerManaged',
          type: {
            name: 'Boolean'
          }
        },
        reservation_order_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reservationOrderId',
          type: {
            name: 'String'
          }
        },
        sku_title: {
          client_side_validation: true,
          required: false,
          serialized_name: 'skuTitle',
          type: {
            name: 'String'
          }
        },
        sku_description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'skuDescription',
          type: {
            name: 'String'
          }
        },
        pricing_currency_total: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pricingCurrencyTotal',
          type: {
            name: 'Composite',
            class_name: 'CalculatePriceResponsePropertiesPricingCurrencyTotal'
          }
        },
        payment_schedule: {
          client_side_validation: true,
          required: false,
          serialized_name: 'paymentSchedule',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PaymentDetailElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PaymentDetail'
                }
            }
          }
        }
      }
    }
  }
end