RefundOption Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. subscriptions. RefundOption
- com.
public class RefundOption
Represents the refund option for a subscription.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| RefundOption() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| org.joda.time.DateTime |
getExpiresAt()
Gets the timestamp when this policy expires if applicable. |
| java.lang.String |
getType()
Gets the type of refund ("Full, Partial"). |
| void |
setExpiresAt(DateTime value)
Sets the timestamp when this policy expires if applicable. |
| void |
setType(String value)
Sets the type of refund ("Full, Partial"). |
Inherited Members
Constructor Details
RefundOption
public RefundOption()
Method Details
getExpiresAt
public DateTime getExpiresAt()
Gets the timestamp when this policy expires if applicable.
Returns:
getType
public String getType()
Gets the type of refund ("Full, Partial").
Returns:
setExpiresAt
public void setExpiresAt(DateTime value)
Sets the timestamp when this policy expires if applicable.
Parameters:
setType
public void setType(String value)
Sets the type of refund ("Full, Partial").
Parameters: