Class SubscriptionSupportContactOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.subscriptions.SubscriptionSupportContactOperations
- All Implemented Interfaces:
IEntityGetOperations<SupportContact>,IEntityUpdateOperations<SupportContact>,IPartnerComponent<Tuple<String,String>>,ISubscriptionSupportContact
public class SubscriptionSupportContactOperations extends BasePartnerComponent<Tuple<String,String>> implements ISubscriptionSupportContact
This class implements the operations for a customer's subscription support contact.
-
Constructor Summary
Constructors Constructor Description SubscriptionSupportContactOperations(IPartner rootPartnerOperations, String customerId, String subscriptionId)Initializes a new instance of the SubscriptionSupportContactOperations class. -
Method Summary
Modifier and Type Method Description SupportContactget()Retrieves the support contact of the customer's subscription.SupportContactupdate(SupportContact supportContact)Updates the support contact of the customer's subscription.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
SubscriptionSupportContactOperations
public SubscriptionSupportContactOperations(IPartner rootPartnerOperations, String customerId, String subscriptionId)Initializes a new instance of the SubscriptionSupportContactOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.subscriptionId- The subscription identifier
-
-
Method Details
-
get
Retrieves the support contact of the customer's subscription.- Specified by:
getin interfaceIEntityGetOperations<SupportContact>- Specified by:
getin interfaceISubscriptionSupportContact- Returns:
- The subscription's support contact.
-
update
Updates the support contact of the customer's subscription.- Specified by:
updatein interfaceIEntityUpdateOperations<SupportContact>- Specified by:
updatein interfaceISubscriptionSupportContact- Parameters:
supportContact- The support contact- Returns:
- The updated support contact.
-