public static class SubscriptionLineItemSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SubscriptionLineItemSummary.Builder |
billingModel(BillingModel billingModel)
Billing model supported by the associated line item.
|
SubscriptionLineItemSummary |
build() |
SubscriptionLineItemSummary.Builder |
copy(SubscriptionLineItemSummary model) |
SubscriptionLineItemSummary.Builder |
id(String id)
Subscription line item identifier.
|
SubscriptionLineItemSummary.Builder |
productCode(String productCode)
Product code.
|
SubscriptionLineItemSummary.Builder |
quantity(Float quantity)
Product number.
|
SubscriptionLineItemSummary.Builder |
timeEnded(Date timeEnded)
The time the subscription item and associated products should end.
|
SubscriptionLineItemSummary.Builder |
timeStarted(Date timeStarted)
The time the subscription item and associated products should start.
|
public SubscriptionLineItemSummary.Builder id(String id)
Subscription line item identifier.
id
- the value to setpublic SubscriptionLineItemSummary.Builder productCode(String productCode)
Product code.
productCode
- the value to setpublic SubscriptionLineItemSummary.Builder quantity(Float quantity)
Product number.
quantity
- the value to setpublic SubscriptionLineItemSummary.Builder billingModel(BillingModel billingModel)
Billing model supported by the associated line item.
billingModel
- the value to setpublic SubscriptionLineItemSummary.Builder timeStarted(Date timeStarted)
The time the subscription item and associated products should start. An RFC 3339 formatted date and time string.
timeStarted
- the value to setpublic SubscriptionLineItemSummary.Builder timeEnded(Date timeEnded)
The time the subscription item and associated products should end. An RFC 3339 formatted date and time string.
timeEnded
- the value to setpublic SubscriptionLineItemSummary build()
public SubscriptionLineItemSummary.Builder copy(SubscriptionLineItemSummary model)
Copyright © 2016–2024. All rights reserved.