class AcceptOn::Charge

Attributes

amount[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

application_fee[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

currency[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

description[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

id[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

metadata[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

refunded[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

remote_id[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

status[R]

@attr_reader amount [Integer] The amount charged in cents @attr_reader application_fee [Integer] The application fee by the

application owner in cents

@attr_reader currency [String] The ISO code of the currency charged @attr_reader description [String] The description of the charge @attr_reader id [String] The charge identifier @attr_reader metadata [Hash] Any metadata about the charge @attr_reader refunded [Boolean] Whether the charge has been refunded @attr_reader remoted_id [String] The charge identifier on the processor @attr_reader status [String] The status of the charge

Public Instance Methods

created_at() click to toggle source

The time the charge was created

@api public

@return [Time]

# File lib/accepton/charge.rb, line 21
def created_at
  Time.parse(@created_at).utc unless @created_at.nil?
end