public class LicenseBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
License |
build() |
static LicenseBuilder |
newLicense() |
LicenseBuilder |
withCreated(Date created) |
LicenseBuilder |
withPaidUntil(Date paidUntil) |
LicenseBuilder |
withPlan(Plan plan) |
LicenseBuilder |
withStatus(String status) |
LicenseBuilder |
withTransaction(Date created,
CreditCard creditCard,
Price price) |
LicenseBuilder |
withTransaction(Transaction transaction) |
LicenseBuilder |
withTransactions(List<Transaction> transactions) |
public static LicenseBuilder newLicense()
public LicenseBuilder withCreated(Date created)
public LicenseBuilder withPaidUntil(Date paidUntil)
public LicenseBuilder withStatus(String status)
public LicenseBuilder withPlan(Plan plan)
public LicenseBuilder withTransactions(List<Transaction> transactions)
public LicenseBuilder withTransaction(Transaction transaction)
public LicenseBuilder withTransaction(Date created, CreditCard creditCard, Price price)
public License build()
Copyright 2022 OneSpan All rights reserved.