@Generated(value="software.amazon.awssdk:codegen") public final class OfferingTransaction extends Object implements StructuredPojo, ToCopyableBuilder<OfferingTransaction.Builder,OfferingTransaction>
Represents the metadata of an offering transaction.
Modifier and Type | Class and Description |
---|---|
static interface |
OfferingTransaction.Builder |
Modifier and Type | Method and Description |
---|---|
static OfferingTransaction.Builder |
builder() |
MonetaryAmount |
cost()
The cost of an offering transaction.
|
Instant |
createdOn()
The date on which an offering transaction was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
offeringPromotionId()
The ID that corresponds to a device offering promotion.
|
OfferingStatus |
offeringStatus()
The status of an offering transaction.
|
static Class<? extends OfferingTransaction.Builder> |
serializableBuilderClass() |
OfferingTransaction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
transactionId()
The transaction ID of the offering transaction.
|
copy
public OfferingStatus offeringStatus()
The status of an offering transaction.
public String transactionId()
The transaction ID of the offering transaction.
public String offeringPromotionId()
The ID that corresponds to a device offering promotion.
public Instant createdOn()
The date on which an offering transaction was created.
public MonetaryAmount cost()
The cost of an offering transaction.
public OfferingTransaction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OfferingTransaction.Builder,OfferingTransaction>
public static OfferingTransaction.Builder builder()
public static Class<? extends OfferingTransaction.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.