public class CalcSubscription extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CalcSubscription.Builder |
Constructor and Description |
---|
CalcSubscription(Double amount,
Double discountAmount,
Double discountPercent,
String period,
Double price,
SubscriptionResource resource,
Date startTime,
Date endTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getAmount() |
double |
getDiscountAmount() |
double |
getDiscountPercent() |
Date |
getEndTime() |
String |
getPeriod() |
double |
getPrice() |
SubscriptionResource |
getResource() |
Date |
getStartTime() |
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"amount","discount_amount","discount_percent","period","price","resource","start_time","end_time"}) public CalcSubscription(@Nullable Double amount, @Nullable Double discountAmount, @Nullable Double discountPercent, @Nullable String period, @Nullable Double price, SubscriptionResource resource, @Nullable Date startTime, @Nullable Date endTime)
public double getAmount()
public double getDiscountAmount()
public double getDiscountPercent()
public String getPeriod()
public double getPrice()
public SubscriptionResource getResource()
public Date getStartTime()
public Date getEndTime()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.