Class: Square::Types::GiftCardActivity
- Inherits:
-
Internal::Types::Model
- Object
- Internal::Types::Model
- Square::Types::GiftCardActivity
- Defined in:
- lib/square/types/gift_card_activity.rb
Overview
Represents an action performed on a [gift card](entity:GiftCard) that affects its state or balance. A gift card activity contains information about a specific activity type. For example, a ‘REDEEM` activity includes a `redeem_activity_details` field that contains information about the redemption.
Method Summary
Methods inherited from Internal::Types::Model
#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h
Methods included from Internal::Types::Type
Methods included from Internal::JSON::Serializable
Constructor Details
This class inherits a constructor from Square::Internal::Types::Model