RefundOption Class

  • java.lang.Object
    • com.microsoft.store.partnercenter.models.subscriptions.RefundOption

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

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

RefundOption

public RefundOption()

Method Details

getExpiresAt

public DateTime getExpiresAt()

Gets the timestamp when this policy expires if applicable.

Returns:

The timestamp when this policy expires if applicable.

getType

public String getType()

Gets the type of refund ("Full, Partial").

Returns:

The type of refund ("Full, Partial").

setExpiresAt

public void setExpiresAt(DateTime value)

Sets the timestamp when this policy expires if applicable.

Parameters:

value - The timestamp when this policy expires if applicable.

setType

public void setType(String value)

Sets the type of refund ("Full, Partial").

Parameters:

value - The type of refund ("Full, Partial").

Applies to