class Azure::Reservations::Mgmt::V2019_04_01_preview::Models::PaymentDetail

Information about payment related to a reservation order.

Attributes

billing_account[RW]

@return [String] Shows the Account that is charged for this payment.

billing_currency_total[RW]

@return [Price] Amount charged in Billing currency. Tax not included. Is null for future payments

due_date[RW]

@return [Date] Date when the payment needs to be done.

extended_status_info[RW]

@return [ExtendedStatusInfo]

payment_date[RW]

@return [Date] Date when the transaction is completed. Is null when it is scheduled.

pricing_currency_total[RW]

@return [Price] Amount in pricing currency. Tax not included.

status[RW]

@return [PaymentStatus] Possible values include: 'Succeeded', 'Failed', 'Scheduled', 'Cancelled'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/payment_detail.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PaymentDetail',
    type: {
      name: 'Composite',
      class_name: 'PaymentDetail',
      model_properties: {
        due_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dueDate',
          type: {
            name: 'Date'
          }
        },
        payment_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'paymentDate',
          type: {
            name: 'Date'
          }
        },
        pricing_currency_total: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pricingCurrencyTotal',
          type: {
            name: 'Composite',
            class_name: 'Price'
          }
        },
        billing_currency_total: {
          client_side_validation: true,
          required: false,
          serialized_name: 'billingCurrencyTotal',
          type: {
            name: 'Composite',
            class_name: 'Price'
          }
        },
        billing_account: {
          client_side_validation: true,
          required: false,
          serialized_name: 'billingAccount',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        extended_status_info: {
          client_side_validation: true,
          required: false,
          serialized_name: 'extendedStatusInfo',
          type: {
            name: 'Composite',
            class_name: 'ExtendedStatusInfo'
          }
        }
      }
    }
  }
end