Input$GiftCardInput constructor

Input$GiftCardInput({
  1. required int amount,
  2. required String approve_url,
  3. required String cancel_url,
  4. String? external_store_id,
  5. String? first_name,
  6. String? last_name,
  7. required String phone,
  8. String? recipient_name,
  9. String? recipient_relation,
  10. required String store_name,
})

Implementation

factory Input$GiftCardInput({
  required int amount,
  required String approve_url,
  required String cancel_url,
  String? external_store_id,
  String? first_name,
  String? last_name,
  required String phone,
  String? recipient_name,
  String? recipient_relation,
  required String store_name,
}) =>
    Input$GiftCardInput._({
      r'amount': amount,
      r'approve_url': approve_url,
      r'cancel_url': cancel_url,
      if (external_store_id != null) r'external_store_id': external_store_id,
      if (first_name != null) r'first_name': first_name,
      if (last_name != null) r'last_name': last_name,
      r'phone': phone,
      if (recipient_name != null) r'recipient_name': recipient_name,
      if (recipient_relation != null)
        r'recipient_relation': recipient_relation,
      r'store_name': store_name,
    });