Class CustomerBillingProfileOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.customers.profiles.CustomerBillingProfileOperations
- All Implemented Interfaces:
ICustomerProfile<CustomerBillingProfile>,ICustomerReadonlyProfile<CustomerBillingProfile>,IEntityGetOperations<CustomerBillingProfile>,IEntityUpdateOperations<CustomerBillingProfile>,IPartnerComponent<String>,IPartnerComponentString
public class CustomerBillingProfileOperations extends BasePartnerComponentString implements ICustomerProfile<CustomerBillingProfile>
Implements the customer billing profile operations.
-
Constructor Summary
Constructors Constructor Description CustomerBillingProfileOperations(IPartner rootPartnerOperations, String customerId)Initializes a new instance of the CustomerBillingProfileOperations class. -
Method Summary
Modifier and Type Method Description CustomerBillingProfileget()Gets the customer's billing profile.CustomerBillingProfileupdate(CustomerBillingProfile billingProfile)Updates the customer's billing profile.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
-
CustomerBillingProfileOperations
Initializes a new instance of the CustomerBillingProfileOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.
-
-
Method Details
-
get
Gets the customer's billing profile.- Specified by:
getin interfaceICustomerReadonlyProfile<CustomerBillingProfile>- Specified by:
getin interfaceIEntityGetOperations<CustomerBillingProfile>- Returns:
- The customer's billing profile.
-
update
Updates the customer's billing profile.- Specified by:
updatein interfaceICustomerProfile<CustomerBillingProfile>- Specified by:
updatein interfaceIEntityUpdateOperations<CustomerBillingProfile>- Parameters:
billingProfile- A customer billing profile with updated fields.- Returns:
- The updated customer billing profile.
-