public static interface Offering.Builder extends SdkPojo, CopyableBuilder<Offering.Builder,Offering>
| Modifier and Type | Method and Description |
|---|---|
Offering.Builder |
description(String description)
A string that describes the offering.
|
Offering.Builder |
id(String id)
The ID that corresponds to a device offering.
|
Offering.Builder |
platform(DevicePlatform platform)
The platform of the device (for example,
ANDROID or IOS). |
Offering.Builder |
platform(String platform)
The platform of the device (for example,
ANDROID or IOS). |
Offering.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
Specifies whether there are recurring charges for the offering.
|
Offering.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
Specifies whether there are recurring charges for the offering.
|
Offering.Builder |
recurringCharges(RecurringCharge... recurringCharges)
Specifies whether there are recurring charges for the offering.
|
Offering.Builder |
type(OfferingType type)
The type of offering (for example,
RECURRING) for a device. |
Offering.Builder |
type(String type)
The type of offering (for example,
RECURRING) for a device. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOffering.Builder id(String id)
The ID that corresponds to a device offering.
id - The ID that corresponds to a device offering.Offering.Builder description(String description)
A string that describes the offering.
description - A string that describes the offering.Offering.Builder type(String type)
The type of offering (for example, RECURRING) for a device.
type - The type of offering (for example, RECURRING) for a device.OfferingType,
OfferingTypeOffering.Builder type(OfferingType type)
The type of offering (for example, RECURRING) for a device.
type - The type of offering (for example, RECURRING) for a device.OfferingType,
OfferingTypeOffering.Builder platform(String platform)
The platform of the device (for example, ANDROID or IOS).
platform - The platform of the device (for example, ANDROID or IOS).DevicePlatform,
DevicePlatformOffering.Builder platform(DevicePlatform platform)
The platform of the device (for example, ANDROID or IOS).
platform - The platform of the device (for example, ANDROID or IOS).DevicePlatform,
DevicePlatformOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
Specifies whether there are recurring charges for the offering.
recurringCharges - Specifies whether there are recurring charges for the offering.Offering.Builder recurringCharges(RecurringCharge... recurringCharges)
Specifies whether there are recurring charges for the offering.
recurringCharges - Specifies whether there are recurring charges for the offering.Offering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
Specifies whether there are recurring charges for the offering.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #recurringCharges(List) .recurringCharges - a consumer that will call methods on List.Builder #recurringCharges(List) Copyright © 2021. All rights reserved.