struct Privacy::CreateCardPayload
- Privacy::CreateCardPayload
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
privacy/mappings/payloads.crConstructors
- .new(pull : JSON::PullParser)
- .new(type : Privacy::Card::Type, memo : Nil | String = nil, spend_limit : Int32 | Nil = nil, spend_limit_duration : Privacy::Card::Limit | Nil = nil)
Instance Method Summary
- #memo : String | Nil
- #spend_limit : Int32 | Nil
- #spend_limit_duration : Privacy::Card::Limit | Nil
- #type : Privacy::Card::Type
Constructor Detail
def self.new(type : Privacy::Card::Type, memo : Nil | String = nil, spend_limit : Int32 | Nil = nil, spend_limit_duration : Privacy::Card::Limit | Nil = nil)
#