Class: CancelSubscriptionAndRefund

Inherits:
Object
  • Object
show all
Defined in:
lib/default.rb

Overview

/CancelSubscriptionAndRefund

subscriptionId - SOAP::SOAPString
refundAmount - Amount
callerReference - SOAP::SOAPString
cancelReason - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subscriptionId = nil, refundAmount = nil, callerReference = nil, cancelReason = nil) ⇒ CancelSubscriptionAndRefund

Returns a new instance of CancelSubscriptionAndRefund.



531
532
533
534
535
536
# File 'lib/default.rb', line 531

def initialize(subscriptionId = nil, refundAmount = nil, callerReference = nil, cancelReason = nil)
  @subscriptionId = subscriptionId
  @refundAmount = refundAmount
  @callerReference = callerReference
  @cancelReason = cancelReason
end

Instance Attribute Details

#callerReferenceObject

Returns the value of attribute callerReference.



528
529
530
# File 'lib/default.rb', line 528

def callerReference
  @callerReference
end

#cancelReasonObject

Returns the value of attribute cancelReason.



529
530
531
# File 'lib/default.rb', line 529

def cancelReason
  @cancelReason
end

#refundAmountObject

Returns the value of attribute refundAmount.



527
528
529
# File 'lib/default.rb', line 527

def refundAmount
  @refundAmount
end

#subscriptionIdObject

Returns the value of attribute subscriptionId.



526
527
528
# File 'lib/default.rb', line 526

def subscriptionId
  @subscriptionId
end