# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Reservations::Mgmt::V2019_04_01_preview
  module Models
    #
    # Model object.
    #
    #
    class RenewPropertiesResponse

      include MsRestAzure

      # @return [PurchaseRequest]
      attr_accessor :purchase_properties

      # @return [RenewPropertiesResponsePricingCurrencyTotal] Amount that
      # Microsoft uses for record. Used during refund for calculating refund
      # limit. Tax is not included. This is locked price 30 days before expiry.
      attr_accessor :pricing_currency_total

      # @return [RenewPropertiesResponseBillingCurrencyTotal] Currency and
      # amount that customer will be charged in customer's local currency for
      # renewal purchase. Tax is not included.
      attr_accessor :billing_currency_total


      #
      # Mapper for RenewPropertiesResponse class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RenewPropertiesResponse',
          type: {
            name: 'Composite',
            class_name: 'RenewPropertiesResponse',
            model_properties: {
              purchase_properties: {
                client_side_validation: true,
                required: false,
                serialized_name: 'purchaseProperties',
                type: {
                  name: 'Composite',
                  class_name: 'PurchaseRequest'
                }
              },
              pricing_currency_total: {
                client_side_validation: true,
                required: false,
                serialized_name: 'pricingCurrencyTotal',
                type: {
                  name: 'Composite',
                  class_name: 'RenewPropertiesResponsePricingCurrencyTotal'
                }
              },
              billing_currency_total: {
                client_side_validation: true,
                required: false,
                serialized_name: 'billingCurrencyTotal',
                type: {
                  name: 'Composite',
                  class_name: 'RenewPropertiesResponseBillingCurrencyTotal'
                }
              }
            }
          }
        }
      end
    end
  end
end
