ePages 7.48.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
getIsActiveCreditCard
getIsActiveDirectDebit
getIsActiveInvoice
getIsActivePayPal
getMerchantClientId
getMerchantId
getMerchantStatusConflicts
getPaymentsReceivable
getPrimaryEmail
getPrimaryEmailConfirmed
getProduct
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

getIsActiveCreditCard

CreditCard method of payment is available and active

Syntax
$isActiveCreditCard = $self->getIsActiveCreditCard( );
Return
$isActiveCreditCard (boolean)
CreditCard is active

getIsActiveDirectDebit

DirectDebit method of payment is available and active

Syntax
$isActiveDirectDebit = $self->getIsActiveDirectDebit( );
Return
$isActiveDirectDebit (boolean)
DirectDebit is active

getIsActiveInvoice

Invoice method of payment is available and active

Syntax
$isActiveInvoice = $self->getIsActiveInvoice( );
Return
$isActiveInvoice (boolean)
Invoice is active

getIsActivePayPal

PayPal method of payment is available and active

Syntax
$isActivePayPal = $self->getIsActivePayPal( );
Return
$isActivePayPal (boolean)
PayPal is active

getMerchantClientId

return obtained merchant client id value from service call

Syntax
$MerchantClientId = $self->getMerchantClientId( );
Input
$PaymentMethodPayPalPlus (DE_EPAGES::PayPalPlus::API::Object::PaymentMethodPayPalPlus)
payment method paypal plus
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

getProduct

return Product from service call

Syntax
$hProduct = $self->getProduct( $ProductName);
Input
$ProductName (string)
product name
Return
$hProduct (hashref)
product

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