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.

OfferingTransaction

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

type OfferingTransaction struct { Cost *MonetaryAmount `locationName:"cost" type:"structure"` CreatedOn *time.Time `locationName:"createdOn" type:"timestamp"` OfferingPromotionId *string `locationName:"offeringPromotionId" min:"4" type:"string"` OfferingStatus *OfferingStatus `locationName:"offeringStatus" type:"structure"` TransactionId *string `locationName:"transactionId" min:"32" type:"string"` }

Represents the metadata of an offering transaction.

Cost

A number representing the monetary amount for an offering or transaction.

CreatedOn

Type: *time.Time

The date on which an offering transaction was created.

OfferingPromotionId

Type: *string

The ID that corresponds to a device offering promotion.

OfferingStatus

The status of the offering.

TransactionId

Type: *string

The transaction ID of the offering transaction.

Method

GoString

func (s OfferingTransaction) GoString() string

GoString returns the string representation

SetCost

func (s *OfferingTransaction) SetCost(v *MonetaryAmount) *OfferingTransaction

SetCost sets the Cost field's value.

SetCreatedOn

func (s *OfferingTransaction) SetCreatedOn(v time.Time) *OfferingTransaction

SetCreatedOn sets the CreatedOn field's value.

SetOfferingPromotionId

func (s *OfferingTransaction) SetOfferingPromotionId(v string) *OfferingTransaction

SetOfferingPromotionId sets the OfferingPromotionId field's value.

SetOfferingStatus

func (s *OfferingTransaction) SetOfferingStatus(v *OfferingStatus) *OfferingTransaction

SetOfferingStatus sets the OfferingStatus field's value.

SetTransactionId

func (s *OfferingTransaction) SetTransactionId(v string) *OfferingTransaction

SetTransactionId sets the TransactionId field's value.

String

func (s OfferingTransaction) String() string

String returns the string representation

On this page: