public class BillingConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
billingDayOfMonth |
protected Integer |
billingIntervalAmount |
protected ShopifySubscriptionBillingIntervalUnit |
billingIntervalUnit |
protected OffsetDateTime |
billingReferenceDate |
protected ShopifySubscriptionWeekday |
billingWeekday |
protected Integer |
maximalBillingCycles |
protected Integer |
maximalSuspendableCycles |
protected Integer |
minimalBillingCycles |
protected Integer |
terminationBillingCycles |
| Constructor and Description |
|---|
BillingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
BillingConfiguration |
billingDayOfMonth(Integer billingDayOfMonth) |
BillingConfiguration |
billingIntervalAmount(Integer billingIntervalAmount) |
BillingConfiguration |
billingIntervalUnit(ShopifySubscriptionBillingIntervalUnit billingIntervalUnit) |
BillingConfiguration |
billingReferenceDate(OffsetDateTime billingReferenceDate) |
BillingConfiguration |
billingWeekday(ShopifySubscriptionWeekday billingWeekday) |
boolean |
equals(Object o) |
Integer |
getBillingDayOfMonth()
Define the day of the month on which the recurring orders should be created.
|
Integer |
getBillingIntervalAmount() |
ShopifySubscriptionBillingIntervalUnit |
getBillingIntervalUnit()
Define how frequently recurring orders should be created.
|
OffsetDateTime |
getBillingReferenceDate()
This date will be used as basis to calculate the dates of recurring orders.
|
ShopifySubscriptionWeekday |
getBillingWeekday()
Define the weekday on which the recurring orders should be created.
|
Integer |
getMaximalBillingCycles()
Define the maximum number of orders the subscription will run for.
|
Integer |
getMaximalSuspendableCycles()
Define the maximum number of orders the subscription can be suspended for at a time.
|
Integer |
getMinimalBillingCycles()
Define the minimal number of orders the subscription will run for.
|
Integer |
getTerminationBillingCycles()
Define the number of orders the subscription will keep running for after its termination has been requested.
|
int |
hashCode() |
BillingConfiguration |
maximalBillingCycles(Integer maximalBillingCycles) |
BillingConfiguration |
maximalSuspendableCycles(Integer maximalSuspendableCycles) |
BillingConfiguration |
minimalBillingCycles(Integer minimalBillingCycles) |
void |
setBillingDayOfMonth(Integer billingDayOfMonth) |
void |
setBillingIntervalAmount(Integer billingIntervalAmount) |
void |
setBillingIntervalUnit(ShopifySubscriptionBillingIntervalUnit billingIntervalUnit) |
void |
setBillingReferenceDate(OffsetDateTime billingReferenceDate) |
void |
setBillingWeekday(ShopifySubscriptionWeekday billingWeekday) |
void |
setMaximalBillingCycles(Integer maximalBillingCycles) |
void |
setMaximalSuspendableCycles(Integer maximalSuspendableCycles) |
void |
setMinimalBillingCycles(Integer minimalBillingCycles) |
void |
setTerminationBillingCycles(Integer terminationBillingCycles) |
BillingConfiguration |
terminationBillingCycles(Integer terminationBillingCycles) |
String |
toString() |
protected Integer billingDayOfMonth
protected Integer billingIntervalAmount
protected ShopifySubscriptionBillingIntervalUnit billingIntervalUnit
protected OffsetDateTime billingReferenceDate
protected ShopifySubscriptionWeekday billingWeekday
protected Integer maximalBillingCycles
protected Integer maximalSuspendableCycles
protected Integer minimalBillingCycles
protected Integer terminationBillingCycles
public BillingConfiguration billingDayOfMonth(Integer billingDayOfMonth)
public Integer getBillingDayOfMonth()
public void setBillingDayOfMonth(Integer billingDayOfMonth)
public BillingConfiguration billingIntervalAmount(Integer billingIntervalAmount)
public Integer getBillingIntervalAmount()
public void setBillingIntervalAmount(Integer billingIntervalAmount)
public BillingConfiguration billingIntervalUnit(ShopifySubscriptionBillingIntervalUnit billingIntervalUnit)
public ShopifySubscriptionBillingIntervalUnit getBillingIntervalUnit()
public void setBillingIntervalUnit(ShopifySubscriptionBillingIntervalUnit billingIntervalUnit)
public BillingConfiguration billingReferenceDate(OffsetDateTime billingReferenceDate)
public OffsetDateTime getBillingReferenceDate()
public void setBillingReferenceDate(OffsetDateTime billingReferenceDate)
public BillingConfiguration billingWeekday(ShopifySubscriptionWeekday billingWeekday)
public ShopifySubscriptionWeekday getBillingWeekday()
public void setBillingWeekday(ShopifySubscriptionWeekday billingWeekday)
public BillingConfiguration maximalBillingCycles(Integer maximalBillingCycles)
public Integer getMaximalBillingCycles()
public void setMaximalBillingCycles(Integer maximalBillingCycles)
public BillingConfiguration maximalSuspendableCycles(Integer maximalSuspendableCycles)
public Integer getMaximalSuspendableCycles()
public void setMaximalSuspendableCycles(Integer maximalSuspendableCycles)
public BillingConfiguration minimalBillingCycles(Integer minimalBillingCycles)
public Integer getMinimalBillingCycles()
public void setMinimalBillingCycles(Integer minimalBillingCycles)
public BillingConfiguration terminationBillingCycles(Integer terminationBillingCycles)
public Integer getTerminationBillingCycles()
public void setTerminationBillingCycles(Integer terminationBillingCycles)
Copyright © 2024. All rights reserved.