components/financial_assistance/app/domain/financial_assistance/operations/applications/transformers/application_to/cv3_application.rb
# rubocop:disable Metrics/ClassLength
# constructs cv3 payload for medicaid gateway.
disable Metrics/ClassLength
constructs cv3 payload for medicaid gateway.
disable Metrics / ClassLength constructs cv3 payload for medicaid gateway .
def vlp_document(applicant)
              return unless applicant.is_applying_coverage
              return if applicant.vlp_subject.nil?
              {subject: applicant.vlp_subject,
               alien_number: applicant.alien_number,
               i94_number: applicant.i94_number,
               visa_number: applicant.visa_number,
               passport_number: applicant.passport_number,
               sevis_id: applicant.sevis_id,
               naturalization_number: applicant.naturalization_number,
               receipt_number: applicant.receipt_number,
               citizenship_number: applicant.citizenship_number,
               card_number: applicant.card_number,
               country_of_citizenship: applicant.country_of_citizenship,
               expiration_date: applicant.expiration_date&.to_datetime,
               issuing_country: applicant.issuing_country,
               status: nil, 
               verification_type: nil, 
               comment: nil}
            end
def vlp_document ( applicant ) return unless applicant . is_applying_coverage return if applicant . vlp_subject . nil? { subject : applicant . vlp_subject , alien_number : applicant . alien_number , i94_number : applicant . i94_number , visa_number : applicant . visa_number , passport_number : applicant . passport_number , sevis_id : applicant . sevis_id , naturalization_number : applicant . naturalization_number , receipt_number : applicant . receipt_number , citizenship_number : applicant . citizenship_number , card_number : applicant . card_number , country_of_citizenship : applicant . country_of_citizenship , expiration_date : applicant . expiration_date &. to_datetime , issuing_country : applicant . issuing_country , status : nil , verification_type : nil , comment : nil } end
rubocop:disable Metrics/ClassLength
constructs cv3 payload for medicaid gateway.
rubocop : disable Metrics / ClassLength constructs cv3 payload for medicaid gateway .
# not sure what should be value here #not sure of value.
applicant