ePages 7.25.0 - DE_EPAGES/PayPalPlus/API/Webservice/GetMerchantStatus/Service.pm

Package DE_EPAGES::PayPalPlus::API::Webservice::GetMerchantStatus::Service

class to handle the GetMerchantStatus for PayPal plus

Functions

doRequest
getMerchantClientId
getMerchantId
getMerchantStatusConflicts
getPaymentsReceivable
getPrimaryEmail
getPrimaryEmailConfirmed
getProducts
hasMerchantStatusConflicts
new
persistResponse

doRequest

Create request to epagesj and handle the answer

Syntax
$WasSuccessful = $self->doRequest( $PaymentMethodPayPalPlus );
Input
$PaymentMethodPayPalPlus (DE_EPAGES::PayPalPlus::API::Object::PaymentMethodPayPalPlus)
payment method paypal plus
Return
$WasSuccessful (boolean)
boolean flag if the request was successful or not

getMerchantClientId

return obtained merchant client id value from service call

Syntax
$MerchantClientId = $self->getMerchantClientId( );
Return
$MerchantClientId (string)
merchant client id code

getMerchantId

return obtained merchant id value from service call

Syntax
$MerchantId = $self->getMerchantId( );
Return
$MerchantId (string)
merchant id code

getMerchantStatusConflicts

return merchant status non conformant for operation values (conflicts)

Syntax
$aConflicts = $self->getMerchantStatusConflicts( );
Return
$aConflicts (arrayref)
conflict names

getPaymentsReceivable

return service call information whether payments are receivable for the PayPal account

Syntax
$PaymentsReceivable = $self->getPaymentsReceivable( );
Return
$PaymentsReceivable (boolean)
whether payments are receivable

getPrimaryEmail

return service call information about primary email used for the PayPal account

Syntax
$PrimaryEmail = $self->getPrimaryEmail( );
Return
$PrimaryEmail (string)
primary email

getPrimaryEmailConfirmed

return service call information whether primary email is confirmed for the PayPal account

Syntax
$PrimaryEmailConfirmed = $self->getPrimaryEmailConfirmed( );
Return
$PrimaryEmailConfirmed (boolean)
whether primary email is confirmed

getProducts

return available products for the PayPal account from service call

Syntax
$aProducts = $self->getProducts( );
Return
$aProducts (arrayref)
product names

hasMerchantStatusConflicts

return either merchant status has non conformant for operation values (conflicts) or not

Syntax
$HasMerchantStatusConflicts = $self->hasMerchantStatusConflicts( );
Return
$HasMerchantStatusConflicts (boolean)
report if there's any conflict

new

constructor

Syntax
new( );
Return
$self (DE_EPAGES::PayPalPlus::API::Webservice::GetMerchantStatus::Service)
self

persistResponse

save required response entries into repository

Syntax
$WasSuccessful = $self->persistResponse( $PaymentMethodPayPalPlus );
Input
$PaymentMethodPayPalPlus (DE_EPAGES::PayPalPlus::API::Object::PaymentMethodPayPalPlus)
payment method paypal plus
Return
$WasSuccessful (boolean)
boolean flag if the response has been successfully persisted