org.gsm.oneapi.responsebean.payment
Class AmountTransaction.PaymentAmount.ChargingInformation

java.lang.Object
  extended by org.gsm.oneapi.responsebean.payment.AmountTransaction.PaymentAmount.ChargingInformation
Enclosing class:
AmountTransaction.PaymentAmount

public static class AmountTransaction.PaymentAmount.ChargingInformation
extends java.lang.Object

the details of the item being charged/ refunded


Constructor Summary
AmountTransaction.PaymentAmount.ChargingInformation()
           
 
Method Summary
 java.lang.Double getAmount()
          return the amount to be charged/ refunded
 java.lang.String getCurrency()
          return the currency being charged
 java.lang.String getDescription()
          return the description of the item being charged/ refunded
 java.lang.String getPurchaseCategoryCode()
          return an indication of the content type.
 void setAmount(java.lang.Double amount)
          set the amount to be charged/ refunded.
 void setCurrency(java.lang.String currency)
          set the currency being charged.
 void setDescription(java.lang.String description)
          set the description of the item being charged/ refunded.
 void setPurchaseCategoryCode(java.lang.String purchaseCategoryCode)
          set an indication of the content type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmountTransaction.PaymentAmount.ChargingInformation

public AmountTransaction.PaymentAmount.ChargingInformation()
Method Detail

getAmount

public java.lang.Double getAmount()
return the amount to be charged/ refunded


getCurrency

public java.lang.String getCurrency()
return the currency being charged


getDescription

public java.lang.String getDescription()
return the description of the item being charged/ refunded


getPurchaseCategoryCode

public java.lang.String getPurchaseCategoryCode()
return an indication of the content type. Values meaningful to the billing system would be published by a OneAPI implementation.


setAmount

public void setAmount(java.lang.Double amount)
set the amount to be charged/ refunded. This is called internally to set the contents according to the JSON response.


setCurrency

public void setCurrency(java.lang.String currency)
set the currency being charged. This is called internally to set the contents according to the JSON response.


setDescription

public void setDescription(java.lang.String description)
set the description of the item being charged/ refunded. This is called internally to set the contents according to the JSON response.


setPurchaseCategoryCode

public void setPurchaseCategoryCode(java.lang.String purchaseCategoryCode)
set an indication of the content type. Values meaningful to the billing system would be published by a OneAPI implementation. This is called internally to set the contents according to the JSON response.