Class: Aws::Invoicing::Types::CreateInvoiceUnitRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure idempotency of the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
# File 'gems/aws-sdk-invoicing/lib/aws-sdk-invoicing/types.rb', line 191

class CreateInvoiceUnitRequest < Struct.new(
  :name,
  :invoice_receiver,
  :description,
  :tax_inheritance_disabled,
  :rule,
  :resource_tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The invoice unit's description. This can be changed at a later time.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
# File 'gems/aws-sdk-invoicing/lib/aws-sdk-invoicing/types.rb', line 191

class CreateInvoiceUnitRequest < Struct.new(
  :name,
  :invoice_receiver,
  :description,
  :tax_inheritance_disabled,
  :rule,
  :resource_tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#invoice_receiverString

The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
# File 'gems/aws-sdk-invoicing/lib/aws-sdk-invoicing/types.rb', line 191

class CreateInvoiceUnitRequest < Struct.new(
  :name,
  :invoice_receiver,
  :description,
  :tax_inheritance_disabled,
  :rule,
  :resource_tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The unique name of the invoice unit that is shown on the generated invoice. This can't be changed once it is set. To change this name, you must delete the invoice unit recreate.

Returns:

  • (String)


191
192
193
194
195
196
197
198
199
200
201
# File 'gems/aws-sdk-invoicing/lib/aws-sdk-invoicing/types.rb', line 191

class CreateInvoiceUnitRequest < Struct.new(
  :name,
  :invoice_receiver,
  :description,
  :tax_inheritance_disabled,
  :rule,
  :resource_tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#resource_tagsArray<Types::ResourceTag>

The tag structure that contains a tag key and value.

Returns:



191
192
193
194
195
196
197
198
199
200
201
# File 'gems/aws-sdk-invoicing/lib/aws-sdk-invoicing/types.rb', line 191

class CreateInvoiceUnitRequest < Struct.new(
  :name,
  :invoice_receiver,
  :description,
  :tax_inheritance_disabled,
  :rule,
  :resource_tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#ruleTypes::InvoiceUnitRule

The InvoiceUnitRule object used to create invoice units.



191
192
193
194
195
196
197
198
199
200
201
# File 'gems/aws-sdk-invoicing/lib/aws-sdk-invoicing/types.rb', line 191

class CreateInvoiceUnitRequest < Struct.new(
  :name,
  :invoice_receiver,
  :description,
  :tax_inheritance_disabled,
  :rule,
  :resource_tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tax_inheritance_disabledBoolean

Whether the invoice unit based tax inheritance is/ should be enabled or disabled.

Returns:

  • (Boolean)


191
192
193
194
195
196
197
198
199
200
201
# File 'gems/aws-sdk-invoicing/lib/aws-sdk-invoicing/types.rb', line 191

class CreateInvoiceUnitRequest < Struct.new(
  :name,
  :invoice_receiver,
  :description,
  :tax_inheritance_disabled,
  :rule,
  :resource_tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end