Overview

Classes

  • Syspay_Merchant_AstroPayBanksRequest
  • Syspay_Merchant_BillingAgreementCancellationRequest
  • Syspay_Merchant_BillingAgreementInfoRequest
  • Syspay_Merchant_BillingAgreementListRequest
  • Syspay_Merchant_BillingAgreementRequest
  • Syspay_Merchant_ChargebackInfoRequest
  • Syspay_Merchant_ChargebackListRequest
  • Syspay_Merchant_Client
  • Syspay_Merchant_ConfirmRequest
  • Syspay_Merchant_EMS
  • Syspay_Merchant_Entity
  • Syspay_Merchant_Entity_AstroPayBank
  • Syspay_Merchant_Entity_BillingAgreement
  • Syspay_Merchant_Entity_Chargeback
  • Syspay_Merchant_Entity_Creditcard
  • Syspay_Merchant_Entity_Customer
  • Syspay_Merchant_Entity_Eterminal
  • Syspay_Merchant_Entity_Payment
  • Syspay_Merchant_Entity_PaymentMethod
  • Syspay_Merchant_Entity_PaymentRecipient
  • Syspay_Merchant_Entity_Plan
  • Syspay_Merchant_Entity_Refund
  • Syspay_Merchant_Entity_Subscription
  • Syspay_Merchant_Entity_SubscriptionEvent
  • Syspay_Merchant_EterminalRequest
  • Syspay_Merchant_IpAddressesRequest
  • Syspay_Merchant_PaymentInfoRequest
  • Syspay_Merchant_PaymentListRequest
  • Syspay_Merchant_PaymentRequest
  • Syspay_Merchant_PlanInfoRequest
  • Syspay_Merchant_PlanRequest
  • Syspay_Merchant_PlanUpdateRequest
  • Syspay_Merchant_RebillRequest
  • Syspay_Merchant_Redirect
  • Syspay_Merchant_RefundInfoRequest
  • Syspay_Merchant_RefundListRequest
  • Syspay_Merchant_RefundRequest
  • Syspay_Merchant_Request
  • Syspay_Merchant_SubscriptionCancellationRequest
  • Syspay_Merchant_SubscriptionInfoRequest
  • Syspay_Merchant_SubscriptionRebillRequest
  • Syspay_Merchant_SubscriptionRequest
  • Syspay_Merchant_Utils
  • Syspay_Merchant_VoidRequest

Interfaces

  • Syspay_Merchant_Entity_ReturnedEntityInterface

Exceptions

  • Syspay_Merchant_EMSException
  • Syspay_Merchant_RedirectException
  • Syspay_Merchant_RequestException
  • Syspay_Merchant_UnexpectedResponseException
  • Overview
  • Class
  • Tree

Class Syspay_Merchant_Entity_PaymentMethod

A payment method object (this gives displayable information about a payment method used for a payment)

Syspay_Merchant_Entity
Extended by Syspay_Merchant_Entity_PaymentMethod implements Syspay_Merchant_Entity_ReturnedEntityInterface
Located at Syspay/SDK/Merchant/Entity/PaymentMethod.php
Methods summary
public static Syspay_Merchant_Entity_PaymentMethod
# buildFromResponse( stdClass $response )

Build a paymentMethod entity based on a json-decoded payment_method stdClass

Build a paymentMethod entity based on a json-decoded payment_method stdClass

Parameters

$response
The payment method data

Returns

Syspay_Merchant_Entity_PaymentMethod
The payment method object

Implementation of

Syspay_Merchant_Entity_ReturnedEntityInterface::buildFromResponse()
public string
# getType( )

Gets the value of type.

Gets the value of type.

Returns

string
string

Overrides

Syspay_Merchant_Entity::getType()
public Syspay_Merchant_Entity_PaymentMethod
# setType( string $type )

Sets the value of type.

Sets the value of type.

Parameters

$type
the type

Returns

Syspay_Merchant_Entity_PaymentMethod
self
public string
# getDisplay( )

Gets the value of display.

Gets the value of display.

Returns

string
string
public Syspay_Merchant_Entity_PaymentMethod
# setDisplay( string $display )

Sets the value of display.

Sets the value of display.

Parameters

$display
the display

Returns

Syspay_Merchant_Entity_PaymentMethod
self
Methods inherited from Syspay_Merchant_Entity
toArray()
Constants summary
string TYPE
#'payment_method'
string TYPE_CREDITCARD
#'CREDITCARD'
string TYPE_PAYSAFECARD
#'PAYSAFECARD'
string TYPE_CLICKANDBUY
#'CLICKANDBUY'
string TYPE_POSTFINANCE
#'POSTFINANCE'
string TYPE_IDEAL
#'IDEAL'
Properties inherited from Syspay_Merchant_Entity
$raw
Syspay Merchant SDK API documentation generated by ApiGen 2.8.0