Class: Aws::Payments::Types::BillingPeriod

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

Overview

A billing period, as a half-open date range: startDate is inclusive and endDate is exclusive. Both members are calendar dates, carried as the timestamp of 00:00:00 UTC on that day.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_date ⇒ Time

The day after the last day of the billing period, exclusive, as the timestamp of 00:00:00 UTC on that day. A calendar month runs from the first of the month to the first of the next month.

Returns:

  • (Time)


163
164
165
166
167
168
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 163

class BillingPeriod < Struct.new(
  :start_date,
  :end_date)
  SENSITIVE = []
  include Aws::Structure
end

#start_date ⇒ Time

The first day of the billing period, inclusive, as the timestamp of 00:00:00 UTC on that day.

Returns:

  • (Time)


163
164
165
166
167
168
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 163

class BillingPeriod < Struct.new(
  :start_date,
  :end_date)
  SENSITIVE = []
  include Aws::Structure
end