AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

BillingRecord

import "github.com/aws/aws-sdk-go/service/route53domains"

type BillingRecord struct { BillDate *time.Time `type:"timestamp"` DomainName *string `type:"string"` InvoiceId *string `type:"string"` Operation *string `type:"string" enum:"OperationType"` Price *float64 `type:"double"` }

Information for one billing record.

BillDate

Type: *time.Time

The date that the operation was billed, in Unix format.

DomainName

Type: *string

The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html) in the Amazon Route 53 Developer Guidezzz.

InvoiceId

Type: *string

The ID of the invoice that is associated with the billing record.

Operation

Type: *string

The operation that you were charged for.

Price

Type: *float64

The price that you were charged for the operation, in US dollars.

Example value: 12.0

Method

GoString

func (s BillingRecord) GoString() string

GoString returns the string representation

SetBillDate

func (s *BillingRecord) SetBillDate(v time.Time) *BillingRecord

SetBillDate sets the BillDate field's value.

SetDomainName

func (s *BillingRecord) SetDomainName(v string) *BillingRecord

SetDomainName sets the DomainName field's value.

SetInvoiceId

func (s *BillingRecord) SetInvoiceId(v string) *BillingRecord

SetInvoiceId sets the InvoiceId field's value.

SetOperation

func (s *BillingRecord) SetOperation(v string) *BillingRecord

SetOperation sets the Operation field's value.

SetPrice

func (s *BillingRecord) SetPrice(v float64) *BillingRecord

SetPrice sets the Price field's value.

String

func (s BillingRecord) String() string

String returns the string representation

On this page: