NAME

Microsoft::AdCenter::CustomerManagementService - Service client for Microsoft AdCenter Customer Management Service.

SYNOPSIS

use Microsoft::AdCenter::CustomerManagementService;

my $service_client = Microsoft::AdCenter::CustomerManagementService->new ->Password("password"); ->UserAccessKey("user access key") ->UserName("user name")

my $response = $service_client->CustomerSignUp( apiFlags => ... user => ... customer => ... account => ... consentToTermsAndConditions => ... couponCode => ... );

See http://msdn.microsoft.com/en-US/library/ee730327%28v=MSADS.60%29.aspx for detailed documentation for this service.

METHODS

EndPoint

Changes the end point for this service client.

Default value:
  https://adcenterapi.microsoft.com/Api/Advertiser/v6/CustomerManagement/CustomerManagement.asmx

Password

Gets/sets Password (string) in the request header

UserAccessKey

Gets/sets UserAccessKey (string) in the request header

UserName

Gets/sets UserName (string) in the request header

CustomerSignUp

Parameters:
  apiFlags (int)
  user (AdCenterUser)
  customer (AdCenterCustomer)
  account (AdCenterAccount)
  consentToTermsAndConditions (boolean)
  couponCode (string)

Returns:
  CustomerSignUpResponse

GetAccountBillingInfo

Parameters:
  apiFlags (int)
  accountId (int)
  customerId (int)
  userId (int)
  activityDays (int)

Returns:
  GetAccountBillingInfoResponse

GetAccounts

Parameters:
  APIFlags (int)

Returns:
  GetAccountsResponse

GetAccountsByIds

Parameters:
  APIFlags (int)
  accountIds (ArrayOfInt)

Returns:
  GetAccountsByIdsResponse

GetCardInvoice

Parameters:
  apiFlags (int)
  customerId (int)
  userId (int)
  handle (AdCenterCardInvoiceHandle)

Returns:
  GetCardInvoiceResponse

GetCustomer

Parameters:
  apiFlags (int)
  customerId (int)

Returns:
  GetCustomerResponse

GetPaymentInstrument

Parameters:
  apiFlags (int)
  accountId (int)

Returns:
  GetPaymentInstrumentResponse

UpdateCustomer

Parameters:
  apiFlags (int)
  customer (AdCenterCustomer)

Returns:
  UpdateCustomerResponse

UpdatePaymentInstrument

Parameters:
  apiFlags (int)
  accountId (int)
  creditCard (AdCenterCreditCard)

Returns:
  UpdatePaymentInstrumentResponse