def get_payment_profile(**kw): """get a user's payment profile arguments: customer_profile_id: required customer_payment_profile_id: required """ return ('getCustomerPaymentProfileRequest', kw, x.customerProfileId(kw['customer_profile_id']), x.customerPaymentProfileId(kw['customer_payment_profile_id']))
def delete_payment_profile(**kw): """delete one of user's payment profiles arguments: customer_profile_id: required customer_payment_profile_id: required """ return ('deleteCustomerPaymentProfileRequest', kw, x.customerProfileId(kw['customer_profile_id']), x.customerPaymentProfileId(kw['customer_payment_profile_id']))
def get_payment_profile(**kw): """get a user's payment profile arguments: customer_profile_id: required customer_payment_profile_id: required """ return ('getCustomerPaymentProfileRequest', kw, x.customerProfileId(kw['customer_profile_id']), x.customerPaymentProfileId(kw['customer_payment_profile_id']) )
def delete_payment_profile(**kw): """delete one of user's payment profiles arguments: customer_profile_id: required customer_payment_profile_id: required """ return ('deleteCustomerPaymentProfileRequest', kw, x.customerProfileId(kw['customer_profile_id']), x.customerPaymentProfileId(kw['customer_payment_profile_id']) )
def validate_payment_profile(**kw): """validate a user's payment profile arguments: customer_profile_id: required customer_payment_profile_id: required customer_address_id: required validation_mode: L{VALIDATION_TEST} or L{VALIDATION_LIVE} or L{VALIDATION_NONE}, default L{VALIDATION_NONE} """ return ('validateCustomerPaymentProfileRequest', kw, x.customerProfileId(kw['customer_profile_id']), x.customerPaymentProfileId(kw['customer_payment_profile_id']), x.customerShippingAddressId(kw['customer_address_id']), x.validationMode(kw.get('validation_mode', VALIDATION_NONE)))
def validate_payment_profile(**kw): """validate a user's payment profile arguments: customer_profile_id: required customer_payment_profile_id: required customer_address_id: required validation_mode: L{VALIDATION_TEST} or L{VALIDATION_LIVE} or L{VALIDATION_NONE}, default L{VALIDATION_NONE} """ return ('validateCustomerPaymentProfileRequest', kw, x.customerProfileId(kw['customer_profile_id']), x.customerPaymentProfileId(kw['customer_payment_profile_id']), x.customerShippingAddressId(kw.get('customer_address_id')), x.validationMode(kw.get('validation_mode', VALIDATION_NONE)) )