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_Chargeback

A chargeback object

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

Build a payment entity based on a json-decoded payment stdClass

Build a payment entity based on a json-decoded payment stdClass

Parameters

$response
The payment data

Returns

Syspay_Merchant_Entity_Payment
The payment object

Implementation of

Syspay_Merchant_Entity_ReturnedEntityInterface::buildFromResponse()
public integer
# getId( )

Gets the value of id.

Gets the value of id.

Returns

integer
integer
public Syspay_Merchant_Entity_Chargeback
# setId( integer $id )

Sets the value of id.

Sets the value of id.

Parameters

$id
the id

Returns

Syspay_Merchant_Entity_Chargeback
self
public string
# getStatus( )

Gets the value of status.

Gets the value of status.

Returns

string
string
public Syspay_Merchant_Entity_Chargeback
# setStatus( string $status )

Sets the value of status.

Sets the value of status.

Parameters

$status
the status

Returns

Syspay_Merchant_Entity_Chargeback
self
public integer
# getAmount( )

Gets the value of amount.

Gets the value of amount.

Returns

integer
integer
public Syspay_Merchant_Entity_Chargeback
# setAmount( integer $amount )

Sets the value of amount.

Sets the value of amount.

Parameters

$amount
the amount

Returns

Syspay_Merchant_Entity_Chargeback
self
public string
# getCurrency( )

Gets the value of currency.

Gets the value of currency.

Returns

string
string
public Syspay_Merchant_Entity_Chargeback
# setCurrency( string $currency )

Sets the value of currency.

Sets the value of currency.

Parameters

$currency
the currency

Returns

Syspay_Merchant_Entity_Chargeback
self
public string
# getReasonCode( )

Gets the value of reasonCode.

Gets the value of reasonCode.

Returns

string
string
public Syspay_Merchant_Entity_Chargeback
# setReasonCode( string $reasonCode )

Sets the value of reasonCode.

Sets the value of reasonCode.

Parameters

$reasonCode
the reasonCode

Returns

Syspay_Merchant_Entity_Chargeback
self
public Syspay_Merchant_Entity_Payment
# getPayment( )

Gets the value of payment.

Gets the value of payment.

Returns

Syspay_Merchant_Entity_Payment
Syspay_Merchant_Entity_Payment
public Syspay_Merchant_Entity_Chargeback
# setPayment( Syspay_Merchant_Entity_Payment $payment )

Sets the value of payment.

Sets the value of payment.

Parameters

$payment
the payment

Returns

Syspay_Merchant_Entity_Chargeback
self
public DateTime
# getProcessingTime( )

Gets the value of processingTime.

Gets the value of processingTime.

Returns

DateTime
DateTime
public Syspay_Merchant_Entity_Chargeback
# setProcessingTime( DateTime $processingTime )

Sets the value of processingTime.

Sets the value of processingTime.

Parameters

$processingTime
the processingTime

Returns

Syspay_Merchant_Entity_Chargeback
self
public DateTime
# getBankTime( )

Gets the value of bankTime.

Gets the value of bankTime.

Returns

DateTime
DateTime
public Syspay_Merchant_Entity_Chargeback
# setBankTime( DateTime $bankTime )

Sets the value of bankTime.

Sets the value of bankTime.

Parameters

$bankTime
the bankTime

Returns

Syspay_Merchant_Entity_Chargeback
self
Methods inherited from Syspay_Merchant_Entity
getType(), toArray()
Constants summary
string TYPE
#'chargeback'
Properties inherited from Syspay_Merchant_Entity
$raw
Syspay Merchant SDK API documentation generated by ApiGen 2.8.0