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