Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions test/views/stripe_connect_account_view_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,40 @@ defmodule CodeCorps.StripeConnectAccountViewTest do
"email" => account.email,
"id-from-stripe" => account.id_from_stripe,
"inserted-at" => account.inserted_at,
"legal-entity-address-city" => account.legal_entity_address_city,
"legal-entity-address-country" => account.legal_entity_address_country,
"legal-entity-address-line1" => account.legal_entity_address_line1,
"legal-entity-address-line2" => account.legal_entity_address_line2,
"legal-entity-address-postal-code" => account.legal_entity_address_postal_code,
"legal-entity-address-state" => account.legal_entity_address_state,
"legal-entity-business-name" => account.legal_entity_business_name,
"legal-entity-business-tax-id" => account.legal_entity_business_tax_id,
"legal-entity-business-tax-id-provided" => account.legal_entity_business_tax_id_provided,
"legal-entity-business-vat-id" => account.legal_entity_business_vat_id,
"legal-entity-business-vat-id-provided" => account.legal_entity_business_vat_id_provided,
"legal-entity-dob-day" => account.legal_entity_dob_day,
"legal-entity-dob-month" => account.legal_entity_dob_month,
"legal-entity-dob-year" => account.legal_entity_dob_year,
"legal-entity-first-name" => account.legal_entity_first_name,
"legal-entity-last-name" => account.legal_entity_last_name,
"legal-entity-gender" => account.legal_entity_gender,
"legal-entity-maiden-name" => account.legal_entity_maiden_name,
"legal-entity-personal-address-city" => account.legal_entity_personal_address_city,
"legal-entity-personal-address-country" => account.legal_entity_personal_address_country,
"legal-entity-personal-address-line1" => account.legal_entity_personal_address_line1,
"legal-entity-personal-address-line2" => account.legal_entity_personal_address_line2,
"legal-entity-personal-address-postal-code" => account.legal_entity_personal_address_postal_code,
"legal-entity-personal-address-state" => account.legal_entity_personal_address_state,
"legal-entity-phone-number" => account.legal_entity_phone_number,
"legal-entity-personal-id-number" => account.legal_entity_personal_id_number,
"legal-entity-personal-id-number-provided" => account.legal_entity_personal_id_number_provided,
"legal-entity-ssn-last-4" => account.legal_entity_ssn_last_4,
"legal-entity-ssn-last-4-provided" => account.legal_entity_ssn_last_4_provided,
"legal-entity-type" => account.legal_entity_type,
"legal-entity-verification-details" => account.legal_entity_verification_details,
"legal-entity-verification-details-code" => account.legal_entity_verification_details_code,
"legal-entity-verification-document" => account.legal_entity_verification_document,
"legal-entity-verification-status" => account.legal_entity_verification_status,
"managed" => account.managed,
"personal-id-number-status" => "pending_requirement",
"recipient-status" => "required",
Expand Down
34 changes: 34 additions & 0 deletions web/views/stripe_connect_account_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,40 @@ defmodule CodeCorps.StripeConnectAccountView do
:email,
:id_from_stripe,
:inserted_at,
:legal_entity_address_city,
:legal_entity_address_country,
:legal_entity_address_line1,
:legal_entity_address_line2,
:legal_entity_address_postal_code,
:legal_entity_address_state,
:legal_entity_business_name,
:legal_entity_business_tax_id,
:legal_entity_business_tax_id_provided,
:legal_entity_business_vat_id,
:legal_entity_business_vat_id_provided,
:legal_entity_dob_day,
:legal_entity_dob_month,
:legal_entity_dob_year,
:legal_entity_first_name,
:legal_entity_last_name,
:legal_entity_gender,
:legal_entity_maiden_name,
:legal_entity_personal_address_city,
:legal_entity_personal_address_country,
:legal_entity_personal_address_line1,
:legal_entity_personal_address_line2,
:legal_entity_personal_address_postal_code,
:legal_entity_personal_address_state,
:legal_entity_phone_number,
:legal_entity_personal_id_number,
:legal_entity_personal_id_number_provided,
:legal_entity_ssn_last_4,
:legal_entity_ssn_last_4_provided,
:legal_entity_type,
:legal_entity_verification_details,
:legal_entity_verification_details_code,
:legal_entity_verification_document,
:legal_entity_verification_status,
:managed,
:personal_id_number_status,
:recipient_status,
Expand Down