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