Class: Aws::BillingConductor::Types::UpdateCustomLineItemChargeDetails

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

Overview

Note:

When making an API call, you may pass UpdateCustomLineItemChargeDetails data as a hash:

{
  flat: {
    charge_value: 1.0, # required
  },
  percentage: {
    percentage_value: 1.0, # required
  },
}

A representation of the new charge details of a custom line item. This should contain only one of Flat or Percentage.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#flatTypes::UpdateCustomLineItemFlatChargeDetails

An UpdateCustomLineItemFlatChargeDetails that describes the new charge details of a flat custom line item.



2473
2474
2475
2476
2477
2478
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2473

class UpdateCustomLineItemChargeDetails < Struct.new(
  :flat,
  :percentage)
  SENSITIVE = []
  include Aws::Structure
end

#percentageTypes::UpdateCustomLineItemPercentageChargeDetails

An UpdateCustomLineItemPercentageChargeDetails that describes the new charge details of a percentage custom line item.



2473
2474
2475
2476
2477
2478
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 2473

class UpdateCustomLineItemChargeDetails < Struct.new(
  :flat,
  :percentage)
  SENSITIVE = []
  include Aws::Structure
end