Upgrade to Pro — share decks privately, control downloads, hide ads and more …

サブスクリプション機能制御の設計における勘所

rockname
August 03, 2023

 サブスクリプション機能制御の設計における勘所

B/43 Tech Talk 〜 Fintech×サブスクリプションサービス立ち上げの裏側〜
https://smartbank.connpass.com/event/289643/

書き起こしブログ
https://blog.smartbank.co.jp/entry/2023/08/03/subscription-function-control

rockname

August 03, 2023
Tweet

More Decks by rockname

Other Decks in Programming

Transcript

  1. αϒεΫϦϓγϣϯػೳ੍ޚͷ
    ઃܭʹ͓͚Δצॴ

    !#5FDL5BML
    SPDLOBNF

    View full-size slide


  2. 4NBSU#BOL *OD
    .PCJMF"QQMJDBUJPO%FWFMPQFS
    ϩΫωϜ
    !@SPDLOBNF
    ࣗݾ঺հ
    !SPDLOBNF

    View full-size slide


  3. αϒεΫϦϓγϣϯػೳ੍ޚͷઃܭʹ͓͚Δצॴ
    αϒεΫϦϓγϣϯͷػೳ੍ޚͱ͸
    αϒεΫϦϓγϣϯར༻Ϣʔβʔ
    ͷΈ͕ಛఆͷlػೳzΛ࢖༻Ͱ͖
    ΔΑ͏ʹl੍ޚz͢Δ͜ͱ

    View full-size slide


  4. αϒεΫϦϓγϣϯػೳ੍ޚͷઃܭʹ͓͚Δצॴ
    αϒεΫϦϓγϣϯͷػೳ੍ޚͱ͸
    ʮαϒεΫϦϓγϣϯ͕༗ޮͰ͸
    ͳ͍৔߹͸ػೳΛ੍ݶ͢Δʯͱ͍
    ͏ઃܭͰ͸ෆे෼🙅

    View full-size slide

  5. αϒεΫϦϓγϣϯͷػೳ੍ޚʹ

    ٻΊΒΕΔઃܭͱ͸ʁ

    View full-size slide


  6. αϒεΫϦϓγϣϯػೳ੍ޚͷઃܭʹ͓͚Δצॴ
    ػೳ੍ޚͷཁ݅
    ػೳ੍ޚͷ࣮૷ύλʔϯ
    #ϓϥεʹ͓͚Δػೳ੍ޚͷઃܭ
    ·ͱΊ
    "HFOEB

    View full-size slide

  7. ػೳ੍ޚͷཁ݅

    View full-size slide


  8. ػೳ੍ޚͷཁ݅
    αϒεΫϦϓγϣϯʹ͓͍ͯɺ
    ্ҐϓϥϯͰ࢖༻Ͱ͖Δػೳ͕
    ԼҐϓϥϯͰ͸࢖༻Ͱ͖ͳ͍ͱ
    ͍͏͜ͱ͕͋Δ
    ϓϥϯ͝ͱʹ࢖༻Մೳͳػೳͷൣғ
    Ծ૝αʔϏεͷϓϥϯ͝ͱʹ࢖༻Մೳͳػೳ

    View full-size slide


  9. ػೳ੍ޚͷཁ݅
    ϑΝϛϦʔϓϥϯͷΑ͏ʹɺਓͷ
    Ϣʔβʔ͕αϒεΫϦϓγϣϯΛར
    ༻͢Δ͜ͱͰෳ਺ͷϢʔβʔ͕αϒ
    εΫϦϓγϣϯͷػೳΛ࢖༻Ͱ͖Δ
    ৔߹͕͋Δ
    αϒεΫϦϓγϣϯΛར༻Մೳͳൣғ
    #ϓϥεΛར༻Մೳͳൣғ

    View full-size slide

  10. ػೳ੍ޚͷ࣮૷ύλʔϯ

    View full-size slide


  11. ػೳ੍ޚͷ࣮૷ύλʔϯ
    ྫ͑͹#ϓϥεͰ͸ɺ೥Ҏ্લͷ·ͱΊ
    Ӿཡػೳͷػೳ੍ޚ͸αʔόʔଆͰॲཧ͕
    ׬݁͢Δ
    αʔόʔଆͰػೳ੍ޚͷॲཧ͕׬݁͢Δύλʔϯ

    View full-size slide


  12. ػೳ੍ޚͷ࣮૷ύλʔϯ
    ྫ͑͹#ϓϥεͰ͸ɺ໌ࡉ΁ͷը૾
    ௥Ճػೳ͸ΫϥΠΞϯτଆͷಋઢΛ࠹͍
    Ͱػೳ੍ޚ͍ͯ͠Δ
    ΫϥΠΞϯτଆͰͷػೳ੍ޚ͕ඞཁͳύλʔϯ

    View full-size slide

  13. ͜͜·Ͱͷ·ͱΊ

    View full-size slide


  14. ͜͜·Ͱͷ·ͱΊ
    w ͭͷཁ݅
    w ϓϥϯ͝ͱʹ࢖༻Մೳͳػೳͷൣғ
    w αϒεΫϦϓγϣϯΛར༻Մೳͳൣғ
    w ͭͷ࣮૷ύλʔϯ
    w αʔόʔଆͰػೳ੍ޚͷॲཧ͕׬݁͢Δύλʔϯ
    w ΫϥΠΞϯτଆͰͷػೳ੍ޚ͕ඞཁͳύλʔϯ

    View full-size slide

  15. #ϓϥεʹ͓͚Δػೳ੍ޚͷઃܭ

    View full-size slide

  16. ςʔϒϧઃܭ

    View full-size slide


  17. ςʔϒϧઃܭ
    ෳ਺ϓϥϯΛ૝ఆͯ͠ϓϥϯ͝ͱʹ࢖༻ՄೳͳػೳͷൣғΛදݱ͢Δ
    ඞཁ͕͋Δ
    ࠶ܝԾ૝αʔϏεͷϓϥϯ͝ͱʹ࢖༻Մೳͳػೳ

    View full-size slide


  18. ςʔϒϧઃܭ
    ˞ݫີʹ͸ʮػೳͷ࢖༻ʹඞཁͳϓϥϯʯ͸ผςʔϒϧͰఆ͍ٛͯͯ͠ରଟͷؔ࿈Λ͍࣋ͨͤͯ·͢
    ʮαϒεΫϦϓγϣϯͷػೳʯΛද͢ςʔϒϧΛ༻ҙ͠ɺʮػೳͷ࢖
    ༻ʹඞཁͱͳΔϓϥϯʯΛඥ͚ͮͯɺϚελʔσʔλͱͯ͠؅ཧ

    View full-size slide

  19. ΞϓϦέʔγϣϯϩδοΫ

    View full-size slide


  20. ΞϓϦέʔγϣϯϩδοΫ
    ࠶ܝ#ϓϥεΛར༻Մೳͳൣғ
    #ϓϥεΛར༻Մೳͳൣғ͸l#ΧʔυzΛى఺ʹܾఆ͢Δ

    View full-size slide


  21. ΞϓϦέʔγϣϯϩδοΫ

    View full-size slide


  22. ΞϓϦέʔγϣϯϩδοΫ

    View full-size slide


  23. ΞϓϦέʔγϣϯϩδοΫ

    View full-size slide


  24. ΞϓϦέʔγϣϯϩδοΫ

    View full-size slide


  25. "1*ઃܭ
    ࠶ܝಋઢʹ͓͚Δػೳ੍ޚ
    ΫϥΠΞϯτଆͰͷػೳ੍ޚ͕ඞཁͳ
    ύλʔϯΛ૝ఆͯ͠ɺઌͷΞϓϦέʔ
    γϣϯϩδοΫͷ݁ՌΛ"1*͔Βฦ͢ඞ
    ཁ͕͋Δ

    View full-size slide

  26. ΫϥΠΞϯτଆͷঢ়ଶ؅ཧઃܭ

    View full-size slide


  27. ΫϥΠΞϯτଆͷঢ়ଶ؅ཧઃܭ
    αϒεΫϦϓγϣϯͷػೳ
    ੍ޚͰ͸ɺঢ়ଶͷෆ੔߹Λ
    ൃੜͤ͞ͳ͍͜ͱ͕ॏཁ

    View full-size slide


  28. ΫϥΠΞϯτଆͷঢ়ଶ؅ཧઃܭ

    View full-size slide


  29. ΫϥΠΞϯτଆͷঢ়ଶ؅ཧઃܭ
    IUUQTTQFBLFSEFDLDPNSPDLOBNFDBDIFCBTFETUBUFNBOBHFNFOUBSDIJUFDUVSF
    ৄࡉ͸ΩϟογϡʹΑΔঢ়ଶ؅ཧ
    ͷΞʔΩςΫνϟͷࢿྉࢀর

    View full-size slide


  30. ΫϥΠΞϯτଆͷঢ়ଶ؅ཧઃܭ

    View full-size slide


  31. ΫϥΠΞϯτଆͷঢ়ଶ؅ཧઃܭ
    %*ίϯςφʹΑΔΠϯελϯεͷείʔϓ؅ཧ

    View full-size slide


  32. ΫϥΠΞϯτଆͷঢ়ଶ؅ཧઃܭ
    IUUQTTQFBLFSEFDLDPNOBLBNVVVTUBSUVQYGJOUFDI
    ৄࡉ͸lϢʔβʔى఺zͷϞόΠϧ
    ΞϓϦͷ։ൃϓϩηεͷࢿྉࢀর

    View full-size slide


  33. ·ͱΊ
    w αϒεΫϦϓγϣϯͷػೳ੍ޚΛઃܭ͢Δ৔߹͸ͭͷཁ݅Λҙࣝ
    ͢Δ
    w αϒεΫϦϓγϣϯΛར༻Մೳͳൣғ
    w ϓϥϯ͝ͱʹ࢖༻Մೳͳػೳͷൣғ
    w ಋઢΛ࠹͍Ͱػೳ੍ޚΛߦ͏ύλʔϯΛ૝ఆͯ͠"1*ͷઃܭ͕ඞཁ
    w ΫϥΠΞϯτଆͰ͸ʮαϒεΫϦϓγϣϯΛར༻ՄೳͳൣғʯΛ
    ҙࣝͯ͠ɺػೳ੍ޚͷঢ়ଶ؅ཧΛෆ੔߹ͷͳ͍Α͏ߦ͏

    View full-size slide


  34. ࠷ޙʹ
    ຊൃදʹ͓͚ΔαʔόʔαΠυͷઃܭ͸एྛ͞Μ !VSJCPV
    ʹ୲౰͍
    ͍ͨͩͨ΋ͷͰɺ࠷ऴతͳઃܭʹ͍ͭͯ΋1+ϝϯόʔͰٞ࿦ͨ݁͠Ռ
    ৢ੒͞Εͨ੒Ռ෺ʹͳΓ·͢ɻ
    !VSJCPV !PICBSZF !IJSPUFB !OBLBNVVV
    4QFDJBMUIBOLTUP

    View full-size slide

  35. ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ

    View full-size slide